Skip to content

Commit

Permalink
Merge pull request #11267 from MiguelPires/fix-flaky-store-test
Browse files Browse the repository at this point in the history
store: fix flaky test
  • Loading branch information
bboozzoo authored Jan 19, 2022
2 parents 1126fd3 + bf4cb0d commit 39e2bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/store_action_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3224,5 +3224,5 @@ func (s *storeActionSuite) TestSnapActionTimeout(c *C) {
close(quit)
// go 1.17 started quoting the failing URL, also context deadline
// exceeded may appear in place of request being canceled
c.Assert(err, ErrorMatches, `.*/v2/snaps/refresh"?: (net/http: request canceled|context deadline exceeded) \(Client.Timeout exceeded while awaiting headers\).*`)
c.Assert(err, ErrorMatches, `.*/v2/snaps/refresh"?: (net/http: request canceled|context deadline exceeded)( \(Client.Timeout exceeded while awaiting headers\))?.*`)
}

0 comments on commit 39e2bc6

Please sign in to comment.