Persist Floating IP UUIDs for direct Neutron operations
This commit is contained in:
1 parent
89ac4d5bcd
commit
94124747ce
24 files changed
+918
-116
No files matched your search
@@ -131,6 +131,10 @@ func TestScanJobDryRunLeavesQueueUntouched(t *testing.T) {
|
||||
if countEvents(t, d, "fip_scan") != 0 || countEvents(t, d, "queue_cleared") != 0 {
|
||||
t.Fatalf("dry run must not emit scan/clear events")
|
||||
}
|
||||
var mappings int
|
||||
if err := d.QueryRowContext(ctx, `SELECT COUNT(*) FROM floating_ip_mappings`).Scan(&mappings); err != nil || mappings != 0 {
|
||||
t.Fatalf("dry run stored %d floating ip mappings, err=%v", mappings, err)
|
||||
}
|
||||
}
|
||||
|
||||
func TestScanJobReadErrorLeavesQueueUntouched(t *testing.T) {
|
||||
|
||||
Reference in new issue
Block a user