From 52d414fa49b02870c5cd49196d0ffee1e1fc1b8f Mon Sep 17 00:00:00 2001 From: Shelikhoo Date: Wed, 29 Sep 2021 09:25:23 +0100 Subject: [PATCH] integrate ioutil migration in test Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f607bf8e9c9ade376a78b49a1c440a7). --- testing/scenarios/common.go | 2 +- testing/scenarios/feature_test.go | 2 +- testing/scenarios/http_test.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/testing/scenarios/common.go b/testing/scenarios/common.go index 138376a5f..51d31ff13 100644 --- a/testing/scenarios/common.go +++ b/testing/scenarios/common.go @@ -5,7 +5,7 @@ import ( "crypto/rand" "fmt" "io" - "io/ioutil" + "os" "os/exec" "path/filepath" "runtime" diff --git a/testing/scenarios/feature_test.go b/testing/scenarios/feature_test.go index 93eb8492b..e25ff8e96 100644 --- a/testing/scenarios/feature_test.go +++ b/testing/scenarios/feature_test.go @@ -3,7 +3,7 @@ package scenarios import ( "context" "google.golang.org/protobuf/types/known/anypb" - "io/ioutil" + "io" "net/http" "net/url" "testing" diff --git a/testing/scenarios/http_test.go b/testing/scenarios/http_test.go index ad940a185..d2f4f3bb0 100644 --- a/testing/scenarios/http_test.go +++ b/testing/scenarios/http_test.go @@ -5,7 +5,6 @@ import ( "context" "crypto/rand" "io" - "io/ioutil" "net/http" "net/url" "testing"