rnp icon indicating copy to clipboard operation
rnp copied to clipboard

test_rnpcfg_get_expiration flaky

Open andrey-utkin opened this issue 2 years ago • 0 comments

Description

rnp_tests.test_rnpcfg_get_expiration sometimes fails in CI for reasons unrelated to the particular pull request. This looks like the test itself is unreliable.

Steps to Reproduce

This happens from time to time in CI, not consistently. Re-run CI repeatedly to trigger?

Expected Behavior

The test always passes or is excluded/dropped.

Actual Behavior

[ RUN      ] rnp_tests.test_rnpcfg_get_expiration
/tmp/cirrus-ci-build/src/tests/utils-rnpcfg.cpp:139: Failure
Expected equality of these values:
  (raw_expiry)
    Which is: 567238
  (rawtime - basetime)
    Which is: 567239
[  FAILED  ] rnp_tests.test_rnpcfg_get_expiration (93 ms)

https://github.com/rnpgp/rnp/pull/1870/checks?check_run_id=7299435924

andrey-utkin avatar Jul 13 '22 10:07 andrey-utkin