Skip to content

Commit

Permalink
Specifically filter for POST otherwise OPTIONS consumes a count
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Jan 19, 2024
1 parent f1b3fa4 commit 1204a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/one_time_keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ func TestFailedOneTimeKeyUploadRetries(t *testing.T) {
"statuscode": map[string]interface{}{
"return_status": http.StatusGatewayTimeout,
"block_request": true,
"count": 2, // block it twice
"filter": "~u .*\\/keys\\/upload.*",
"count": 2, // block it twice.
"filter": "~u .*\\/keys\\/upload.* ~m POST",
},
}, func() {
alice := LoginClientFromComplementClient(t, tc.Deployment, tc.Alice, clientType)
Expand Down

0 comments on commit 1204a57

Please sign in to comment.