From 901c429193d25571d70e30ca1020d034c8f48f74 Mon Sep 17 00:00:00 2001 From: Andres Taylor Date: Wed, 14 Oct 2020 19:28:01 +0200 Subject: [PATCH] Stabilize test The test code was assuming that configuration had not had a chance to be reloaded, but sometimes magnetic red shift lead to this happening. Signed-off-by: Andres Taylor --- go/mysql/auth_server_static_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/go/mysql/auth_server_static_test.go b/go/mysql/auth_server_static_test.go index 2586da2f60b..f195b4c72d1 100644 --- a/go/mysql/auth_server_static_test.go +++ b/go/mysql/auth_server_static_test.go @@ -207,10 +207,6 @@ func hupTestWithRotation(t *testing.T, aStatic *AuthServerStatic, tmpFile *os.Fi t.Fatalf("couldn't overwrite temp file: %v", err) } - if aStatic.getEntries()[oldStr][0].Password != oldStr { - t.Fatalf("%s's Password should still be '%s'", oldStr, oldStr) - } - time.Sleep(20 * time.Millisecond) // wait for signal handler if aStatic.getEntries()[oldStr] != nil {