Commit 7b0ef7a
committed
e2e: restore secret name to original while running tests with ToxiProxy
The e2e test network_interruption_toxi.go failed with message below, which is because the default secretname has been updated to secret1-toxiproxy in deploy_app_toxi.go.
09:09:18 ␛[91mExpected
09:09:18 <*errors.StatusError | 0xc00095b9a0>: {
09:09:18 ErrStatus: {
09:09:18 TypeMeta: {Kind: "", APIVersion: ""},
09:09:18 ListMeta: {
09:09:18 SelfLink: "",
09:09:18 ResourceVersion: "",
09:09:18 Continue: "",
09:09:18 RemainingItemCount: nil,
09:09:18 },
09:09:18 Status: "Failure",
09:09:18 Message: "secrets \"secret1-toxiproxy\" not found",
09:09:18 Reason: "NotFound",
09:09:18 Details: {
09:09:18 Name: "secret1-toxiproxy",
09:09:18 Group: "",
09:09:18 Kind: "secrets",
09:09:18 UID: "",
09:09:18 Causes: nil,
09:09:18 RetryAfterSeconds: 0,
09:09:18 },
09:09:18 Code: 404,
09:09:18 },
09:09:18 }
09:09:18 to be nil␛[0m
This happened with deploy_app_toxi.go sometimes, if network_interruption_toxi.go is run before it.1 parent 4e33b4a commit 7b0ef7a
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
210 | 211 | | |
| 212 | + | |
211 | 213 | | |
212 | 214 | | |
213 | 215 | | |
| |||
0 commit comments