Skip to content

Use require.WithinDuration to fix flaky test

Igor Drozdov requested to merge id-fix-flacky-test into main

Currently, there's a failed test, when a test is executed on the border line of a second. This MR adds a delta within which the statement is verified. Can be verified by:

go test ./client -run=TestClients/Https_client/JWT_authentication_headers_for_GET -count=10000

Merge request reports