From 6d2a48550e6c5cb82728721631200212275ba5a2 Mon Sep 17 00:00:00 2001 From: Chris Battarbee Date: Wed, 11 Dec 2024 16:19:53 +0000 Subject: [PATCH] Add sleep --- integration_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration_test.go b/integration_test.go index 85a395a..0150020 100644 --- a/integration_test.go +++ b/integration_test.go @@ -179,6 +179,8 @@ func TestServerIntegration(t *testing.T) { assert.Equal(t, float64(1), resp["id"]) assert.NotNil(t, resp["result"]) + time.Sleep(100 * time.Millisecond) + // Test 2: List tools resp, err = sendRequest("tools/list", nil) require.NoError(t, err)