forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topdown: http.send cache test use new test server
The older version of the cache testing for http.send didn't use separate t.Run()'s for each case so it made it hard to see which case was broken if the number of requests didn't match up with expected. It also re-used the same test server which seemed to cause some timing issues. Signed-off-by: Patrick East <east.patrick@gmail.com>
- Loading branch information
1 parent
1365a38
commit c79dc60
Showing
1 changed file
with
19 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters