From 9d5e10f5bbeb79b7bae9a4f39386f97907efc601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jano=C5=A1=20Gulja=C5=A1?= Date: Wed, 20 Feb 2019 22:58:25 +0100 Subject: [PATCH] cmd/swarm/global-store: use kill instead interrupt in tests (#19142) --- cmd/swarm/global-store/global_store_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/swarm/global-store/global_store_test.go b/cmd/swarm/global-store/global_store_test.go index 85f361ed4..63f1c5389 100644 --- a/cmd/swarm/global-store/global_store_test.go +++ b/cmd/swarm/global-store/global_store_test.go @@ -60,7 +60,7 @@ func TestHTTP_Database(t *testing.T) { func testHTTP(t *testing.T, put bool, args ...string) { addr := findFreeTCPAddress(t) testCmd := runGlobalStore(t, append([]string{"http", "--addr", addr}, args...)...) - defer testCmd.Interrupt() + defer testCmd.Kill() client, err := rpc.DialHTTP("http://" + addr) if err != nil { @@ -135,7 +135,7 @@ func TestWebsocket_Database(t *testing.T) { func testWebsocket(t *testing.T, put bool, args ...string) { addr := findFreeTCPAddress(t) testCmd := runGlobalStore(t, append([]string{"ws", "--addr", addr}, args...)...) - defer testCmd.Interrupt() + defer testCmd.Kill() var client *rpc.Client var err error