aboutsummaryrefslogtreecommitdiff
path: root/internal/postgres/insert_module_test.go
diff options
context:
space:
mode:
authorJonathan Amsterdam <jba@google.com>2020-06-03 20:11:39 -0400
committerJonathan Amsterdam <jba@google.com>2020-06-04 10:25:59 +0000
commit4d405283ab9ae8414e7556bca00cd4d536258dcc (patch)
tree78a5c7d4f53b29a5dc27fd984c4d0f2a0cd65043 /internal/postgres/insert_module_test.go
parentbc42b7ce3cb16956272a77fb69c5e8700f0d8f08 (diff)
downloadgo-x-pkgsite-4d405283ab9ae8414e7556bca00cd4d536258dcc.tar.xz
internal: remove serializable experiment
Instead of serializable transactions, we will use an advisory lock on the module path. See http://tg/760100. Change-Id: Iaae7777bab8efa21347480b6f3929a1feed98e44 Reviewed-on: https://team-review.git.corp.google.com/c/golang/discovery/+/762240 CI-Result: Cloud Build <devtools-proctor-result-processor@system.gserviceaccount.com> Reviewed-by: Julie Qiu <julieqiu@google.com>
Diffstat (limited to 'internal/postgres/insert_module_test.go')
-rw-r--r--internal/postgres/insert_module_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/postgres/insert_module_test.go b/internal/postgres/insert_module_test.go
index 8ef13359..59ffbfe4 100644
--- a/internal/postgres/insert_module_test.go
+++ b/internal/postgres/insert_module_test.go
@@ -30,8 +30,7 @@ func TestInsertModule(t *testing.T) {
defer cancel()
ctx = experiment.NewContext(ctx,
experiment.NewSet(map[string]bool{
- internal.ExperimentInsertDirectories: true,
- internal.ExperimentInsertSerializable: true,
+ internal.ExperimentInsertDirectories: true,
}))
for _, test := range []struct {