Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX Don't call done unless the test case passes
Problem: Test case 'Reuse authentication tokens' -> 'When a PEP Proxy has an expired token and another request arrives to the proxy' -> 'both requests should finish' We call done() without being sure that both requests have finished. Solution: Only call done once the second request receives a response. When the test case fails, it now does so in the test case proper rather than in a hook.
- Loading branch information