From 3f049a46c0f80127de9663a3bc3f9ce159904373 Mon Sep 17 00:00:00 2001 From: jkrvivian Date: Sat, 11 May 2024 14:58:44 +0800 Subject: [PATCH] Wait longer for autopeering in Test_ManagementAPI_Peers --- tools/docker-network/tests/api_management_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/docker-network/tests/api_management_test.go b/tools/docker-network/tests/api_management_test.go index 5b0533cdd..c10c36b95 100644 --- a/tools/docker-network/tests/api_management_test.go +++ b/tools/docker-network/tests/api_management_test.go @@ -50,6 +50,9 @@ func Test_ManagementAPI_Peers(t *testing.T) { d.WaitUntilNetworkReady() + // wait longer for autopeering + d.AwaitCommitment(d.DefaultWallet().CurrentSlot()) + // get the management client managementClient, err := d.Client("V1").Management(getContextWithTimeout(5 * time.Second)) require.NoError(t, err)