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>
This commit is contained in:
Jonathan Amsterdam 2020-06-03 20:11:39 -04:00
Родитель bc42b7ce3c
Коммит 4d405283ab
2 изменённых файлов: 1 добавлений и 3 удалений

Просмотреть файл

@ -13,7 +13,6 @@ const (
ExperimentTeeProxyMakePkgGoDevRequest = "teeproxy-make-pkg-go-dev-request"
ExperimentUseDirectories = "use-directories"
ExperimentInsertPlaygroundLinks = "insert-playground-links"
ExperimentInsertSerializable = "insert-serializable-txn"
)
// Experiment holds data associated with an experimental feature for frontend

Просмотреть файл

@ -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 {