diff options
| author | Jonathan Amsterdam <jba@google.com> | 2022-04-20 17:12:05 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2022-04-21 15:17:02 +0000 |
| commit | bbbf7a68a7292ee89986f201de80bb1fd294482d (patch) | |
| tree | f5d7337199f346b407df767c84deb6684f41f1da /internal/database/database_test.go | |
| parent | 18b87d082bf698991c060d8d8c848c7a1e49acbe (diff) | |
| download | go-x-pkgsite-bbbf7a68a7292ee89986f201de80bb1fd294482d.tar.xz | |
internal: remove experiments
Remove the deprecated-doc and deps-dev-link experiments, which
have been fully rolled out.
I found I also had to increase some parameters on the serializablity
test in internal/database to make it pass on my machine.
Reasons unknown.
Change-Id: Ibcb1f8167474884d6c029da55f2d31b3c5adcfc6
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/401237
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Jamal Carvalho <jamal@golang.org>
Diffstat (limited to 'internal/database/database_test.go')
| -rw-r--r-- | internal/database/database_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/database/database_test.go b/internal/database/database_test.go index eda36ed0..e2ee75bb 100644 --- a/internal/database/database_test.go +++ b/internal/database/database_test.go @@ -372,12 +372,12 @@ func TestTransactSerializable(t *testing.T) { // Test that serializable transactions retry until success. // This test was taken from the example at https://www.postgresql.org/docs/11/transaction-iso.html, // section 13.2.3. - ctx, cancel := context.WithTimeout(context.Background(), testTimeout) + ctx, cancel := context.WithTimeout(context.Background(), testTimeout*2) defer cancel() // Once in while, the test doesn't work. Repeat to de-flake. var msg string - for i := 0; i < 10; i++ { + for i := 0; i < 20; i++ { msg = testTransactSerializable(ctx, t) if msg == "" { return |
