integration-tests/go-sql-server-driver/auto_gc_test.go: Remove some flakey asserts for now.

This commit is contained in:
Aaron Son
2025-06-11 12:15:27 -07:00
parent de9915b817
commit 2d00d71b96
@@ -80,8 +80,9 @@ func TestAutoGC(t *testing.T) {
s.EnableRemotesAPI = true
s.Archive = sa.archive
enabled_16, final_16 = runAutoGCTest(t, &s, numStatements, 2)
assert.Contains(t, string(s.PrimaryServer.Output.Bytes()), "Successfully completed auto GC")
assert.Contains(t, string(s.StandbyServer.Output.Bytes()), "Successfully completed auto GC")
// XXX: Reenable these after tuning to be more reliable.
// assert.Contains(t, string(s.PrimaryServer.Output.Bytes()), "Successfully completed auto GC")
// assert.Contains(t, string(s.StandbyServer.Output.Bytes()), "Successfully completed auto GC")
assert.NotContains(t, string(s.PrimaryServer.Output.Bytes()), "dangling references requested during GC")
assert.NotContains(t, string(s.StandbyServer.Output.Bytes()), "dangling references requested during GC")
})