From d3b8036b90ae6773d5ae3f8df50296734e728d39 Mon Sep 17 00:00:00 2001 From: Boris Glimcher Date: Sat, 11 Feb 2023 00:04:31 +0200 Subject: [PATCH] rename test to testing Signed-off-by: Boris Glimcher --- storage/goopicsi_test.go | 6 +++--- {test => testing}/mock-server/server/server.go | 0 {test => testing}/mock-server/stub/storage.go | 0 {test => testing}/mock-server/stub/stub.go | 0 .../mock-server/stubs/CreateNVMeSubSystem.json | 0 .../mock-server/stubs/CreateNVMfRemoteControllers.json | 0 {test => testing}/mock-server/stubs/CreateNamespace.json | 0 {test => testing}/mock-server/stubs/DeleteNamespace.json | 0 .../mock-server/stubs/DisconnectConnection.json | 0 {test => testing}/mock-server/stubs/GetNVMeController.json | 0 {test => testing}/mock-server/stubs/GetNVMeSubSystem.json | 0 .../mock-server/stubs/GetNVMfRemoteController.json | 0 .../mock-server/stubs/ListNVMfRemoteController.json | 0 {test => testing}/mock-server/stubs/NullDebugList.json | 0 14 files changed, 3 insertions(+), 3 deletions(-) rename {test => testing}/mock-server/server/server.go (100%) rename {test => testing}/mock-server/stub/storage.go (100%) rename {test => testing}/mock-server/stub/stub.go (100%) rename {test => testing}/mock-server/stubs/CreateNVMeSubSystem.json (100%) rename {test => testing}/mock-server/stubs/CreateNVMfRemoteControllers.json (100%) rename {test => testing}/mock-server/stubs/CreateNamespace.json (100%) rename {test => testing}/mock-server/stubs/DeleteNamespace.json (100%) rename {test => testing}/mock-server/stubs/DisconnectConnection.json (100%) rename {test => testing}/mock-server/stubs/GetNVMeController.json (100%) rename {test => testing}/mock-server/stubs/GetNVMeSubSystem.json (100%) rename {test => testing}/mock-server/stubs/GetNVMfRemoteController.json (100%) rename {test => testing}/mock-server/stubs/ListNVMfRemoteController.json (100%) rename {test => testing}/mock-server/stubs/NullDebugList.json (100%) diff --git a/storage/goopicsi_test.go b/storage/goopicsi_test.go index 4bba0be..4853dbf 100644 --- a/storage/goopicsi_test.go +++ b/storage/goopicsi_test.go @@ -11,8 +11,8 @@ import ( "strings" "testing" - "github.com/opiproject/godpu/test/mock-server/server" - "github.com/opiproject/godpu/test/mock-server/stub" + "github.com/opiproject/godpu/testing/mock-server/server" + "github.com/opiproject/godpu/testing/mock-server/stub" pb "github.com/opiproject/opi-api/storage/v1alpha1/gen/go" "github.com/stretchr/testify/suite" "google.golang.org/grpc" @@ -33,7 +33,7 @@ func RunServer() { fmt.Println("RUNNING MOCK SERVER") const ( csiAddress = "localhost:50051" - defaultStubsPath = "../test/mock-server/stubs" + defaultStubsPath = "../testing/mock-server/stubs" apiPort = "4771" ) diff --git a/test/mock-server/server/server.go b/testing/mock-server/server/server.go similarity index 100% rename from test/mock-server/server/server.go rename to testing/mock-server/server/server.go diff --git a/test/mock-server/stub/storage.go b/testing/mock-server/stub/storage.go similarity index 100% rename from test/mock-server/stub/storage.go rename to testing/mock-server/stub/storage.go diff --git a/test/mock-server/stub/stub.go b/testing/mock-server/stub/stub.go similarity index 100% rename from test/mock-server/stub/stub.go rename to testing/mock-server/stub/stub.go diff --git a/test/mock-server/stubs/CreateNVMeSubSystem.json b/testing/mock-server/stubs/CreateNVMeSubSystem.json similarity index 100% rename from test/mock-server/stubs/CreateNVMeSubSystem.json rename to testing/mock-server/stubs/CreateNVMeSubSystem.json diff --git a/test/mock-server/stubs/CreateNVMfRemoteControllers.json b/testing/mock-server/stubs/CreateNVMfRemoteControllers.json similarity index 100% rename from test/mock-server/stubs/CreateNVMfRemoteControllers.json rename to testing/mock-server/stubs/CreateNVMfRemoteControllers.json diff --git a/test/mock-server/stubs/CreateNamespace.json b/testing/mock-server/stubs/CreateNamespace.json similarity index 100% rename from test/mock-server/stubs/CreateNamespace.json rename to testing/mock-server/stubs/CreateNamespace.json diff --git a/test/mock-server/stubs/DeleteNamespace.json b/testing/mock-server/stubs/DeleteNamespace.json similarity index 100% rename from test/mock-server/stubs/DeleteNamespace.json rename to testing/mock-server/stubs/DeleteNamespace.json diff --git a/test/mock-server/stubs/DisconnectConnection.json b/testing/mock-server/stubs/DisconnectConnection.json similarity index 100% rename from test/mock-server/stubs/DisconnectConnection.json rename to testing/mock-server/stubs/DisconnectConnection.json diff --git a/test/mock-server/stubs/GetNVMeController.json b/testing/mock-server/stubs/GetNVMeController.json similarity index 100% rename from test/mock-server/stubs/GetNVMeController.json rename to testing/mock-server/stubs/GetNVMeController.json diff --git a/test/mock-server/stubs/GetNVMeSubSystem.json b/testing/mock-server/stubs/GetNVMeSubSystem.json similarity index 100% rename from test/mock-server/stubs/GetNVMeSubSystem.json rename to testing/mock-server/stubs/GetNVMeSubSystem.json diff --git a/test/mock-server/stubs/GetNVMfRemoteController.json b/testing/mock-server/stubs/GetNVMfRemoteController.json similarity index 100% rename from test/mock-server/stubs/GetNVMfRemoteController.json rename to testing/mock-server/stubs/GetNVMfRemoteController.json diff --git a/test/mock-server/stubs/ListNVMfRemoteController.json b/testing/mock-server/stubs/ListNVMfRemoteController.json similarity index 100% rename from test/mock-server/stubs/ListNVMfRemoteController.json rename to testing/mock-server/stubs/ListNVMfRemoteController.json diff --git a/test/mock-server/stubs/NullDebugList.json b/testing/mock-server/stubs/NullDebugList.json similarity index 100% rename from test/mock-server/stubs/NullDebugList.json rename to testing/mock-server/stubs/NullDebugList.json