commit | f35e40215a3a1cbdd39e5a86b84695cfe92c1b83 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Thu Sep 24 11:05:03 2020 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Thu Sep 24 15:07:46 2020 +0000 |
tree | e7e1c159765afe1d10da95fe71a19c4c431c6daa | |
parent | 1717b2e4ef1e9e2e7bdcf78f51f6389a20647e6f [diff] |
internal/secrets: remove test that depends on ambient permissions It's inherently flaky. Change-Id: I2f35d94a335f22943ffe8357a7f84a686b21d6e8 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/257097 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/internal/secrets/secrets_test.go b/internal/secrets/secrets_test.go index 8f34c47..84ab158 100644 --- a/internal/secrets/secrets_test.go +++ b/internal/secrets/secrets_test.go
@@ -23,8 +23,4 @@ if got != want { t.Errorf("got %q, want %q", got, want) } - - if _, err := Get(context.Background(), "worker-database-password"); err == nil { - t.Error("was able to get a secret that we shouldn't") - } }