From 4316803a7394826324971b2b9f43d029a8741b49 Mon Sep 17 00:00:00 2001 From: Joy Wang Date: Fri, 11 Oct 2024 13:51:09 -0400 Subject: [PATCH 1/2] some prose --- {internal/integration => mongo}/clam_prose_test.go | 2 +- .../integration => mongo}/client_side_encryption_prose_test.go | 2 +- .../integration => mongo}/client_side_encryption_spec_test.go | 2 +- {internal/integration => mongo}/client_side_encryption_test.go | 2 +- {internal/integration => mongo}/log_helpers_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename {internal/integration => mongo}/clam_prose_test.go (99%) rename {internal/integration => mongo}/client_side_encryption_prose_test.go (99%) rename {internal/integration => mongo}/client_side_encryption_spec_test.go (98%) rename {internal/integration => mongo}/client_side_encryption_test.go (99%) rename {internal/integration => mongo}/log_helpers_test.go (99%) diff --git a/internal/integration/clam_prose_test.go b/mongo/clam_prose_test.go similarity index 99% rename from internal/integration/clam_prose_test.go rename to mongo/clam_prose_test.go index f4aaf7eb7c..a13224bb35 100644 --- a/internal/integration/clam_prose_test.go +++ b/mongo/clam_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "context" diff --git a/internal/integration/client_side_encryption_prose_test.go b/mongo/client_side_encryption_prose_test.go similarity index 99% rename from internal/integration/client_side_encryption_prose_test.go rename to mongo/client_side_encryption_prose_test.go index 0620b9ff10..f868ce4e18 100644 --- a/internal/integration/client_side_encryption_prose_test.go +++ b/mongo/client_side_encryption_prose_test.go @@ -7,7 +7,7 @@ //go:build cse // +build cse -package integration +package mongo_test import ( "bytes" diff --git a/internal/integration/client_side_encryption_spec_test.go b/mongo/client_side_encryption_spec_test.go similarity index 98% rename from internal/integration/client_side_encryption_spec_test.go rename to mongo/client_side_encryption_spec_test.go index 6a591f5879..cbc88edc7e 100644 --- a/internal/integration/client_side_encryption_spec_test.go +++ b/mongo/client_side_encryption_spec_test.go @@ -7,7 +7,7 @@ //go:build cse // +build cse -package integration +package mongo_test import ( "os" diff --git a/internal/integration/client_side_encryption_test.go b/mongo/client_side_encryption_test.go similarity index 99% rename from internal/integration/client_side_encryption_test.go rename to mongo/client_side_encryption_test.go index 1111a71021..230f46eca1 100644 --- a/internal/integration/client_side_encryption_test.go +++ b/mongo/client_side_encryption_test.go @@ -7,7 +7,7 @@ //go:build cse // +build cse -package integration +package mongo_test import ( "context" diff --git a/internal/integration/log_helpers_test.go b/mongo/log_helpers_test.go similarity index 99% rename from internal/integration/log_helpers_test.go rename to mongo/log_helpers_test.go index 20f4f34e34..bac9434c09 100644 --- a/internal/integration/log_helpers_test.go +++ b/mongo/log_helpers_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "context" From 7438f300afab4e7419574e08852bcb0001e725d1 Mon Sep 17 00:00:00 2001 From: Joy Wang Date: Fri, 11 Oct 2024 14:54:26 -0400 Subject: [PATCH 2/2] more prose --- {internal/integration => mongo}/csot_cse_prose_test.go | 2 +- {internal/integration => mongo}/csot_prose_test.go | 2 +- {internal/integration => mongo}/retryable_reads_prose_test.go | 2 +- {internal/integration => mongo}/search_index_prose_test.go | 2 +- {internal/integration => mongo}/server_selection_prose_test.go | 2 +- .../integration => mongo}/sessions_mongocryptd_prose_test.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) rename {internal/integration => mongo}/csot_cse_prose_test.go (99%) rename {internal/integration => mongo}/csot_prose_test.go (99%) rename {internal/integration => mongo}/retryable_reads_prose_test.go (99%) rename {internal/integration => mongo}/search_index_prose_test.go (99%) rename {internal/integration => mongo}/server_selection_prose_test.go (99%) rename {internal/integration => mongo}/sessions_mongocryptd_prose_test.go (99%) diff --git a/internal/integration/csot_cse_prose_test.go b/mongo/csot_cse_prose_test.go similarity index 99% rename from internal/integration/csot_cse_prose_test.go rename to mongo/csot_cse_prose_test.go index 3eb91369ad..e64b8ad103 100644 --- a/internal/integration/csot_cse_prose_test.go +++ b/mongo/csot_cse_prose_test.go @@ -7,7 +7,7 @@ //go:build cse // +build cse -package integration +package mongo_test import ( "context" diff --git a/internal/integration/csot_prose_test.go b/mongo/csot_prose_test.go similarity index 99% rename from internal/integration/csot_prose_test.go rename to mongo/csot_prose_test.go index 960891ee5c..b9b48435ba 100644 --- a/internal/integration/csot_prose_test.go +++ b/mongo/csot_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "bytes" diff --git a/internal/integration/retryable_reads_prose_test.go b/mongo/retryable_reads_prose_test.go similarity index 99% rename from internal/integration/retryable_reads_prose_test.go rename to mongo/retryable_reads_prose_test.go index 3b2b50f2c8..92b9d71e4c 100644 --- a/internal/integration/retryable_reads_prose_test.go +++ b/mongo/retryable_reads_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "context" diff --git a/internal/integration/search_index_prose_test.go b/mongo/search_index_prose_test.go similarity index 99% rename from internal/integration/search_index_prose_test.go rename to mongo/search_index_prose_test.go index a9fbfef4a4..8fd02b08c7 100644 --- a/internal/integration/search_index_prose_test.go +++ b/mongo/search_index_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "bytes" diff --git a/internal/integration/server_selection_prose_test.go b/mongo/server_selection_prose_test.go similarity index 99% rename from internal/integration/server_selection_prose_test.go rename to mongo/server_selection_prose_test.go index 05641dbf75..a3caeebe0c 100644 --- a/internal/integration/server_selection_prose_test.go +++ b/mongo/server_selection_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "context" diff --git a/internal/integration/sessions_mongocryptd_prose_test.go b/mongo/sessions_mongocryptd_prose_test.go similarity index 99% rename from internal/integration/sessions_mongocryptd_prose_test.go rename to mongo/sessions_mongocryptd_prose_test.go index 5d088c26d5..65bd5bce1e 100644 --- a/internal/integration/sessions_mongocryptd_prose_test.go +++ b/mongo/sessions_mongocryptd_prose_test.go @@ -4,7 +4,7 @@ // not use this file except in compliance with the License. You may obtain // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 -package integration +package mongo_test import ( "context"