Skip to content

Commit

Permalink
Merge pull request noobaa#7689 from shirady/add-printings-to-test
Browse files Browse the repository at this point in the history
CI | Add a Printing to Test
  • Loading branch information
shirady authored Jan 4, 2024
2 parents 723193b + cb5277a commit d18db43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/unit_tests/test_namespace_cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -1195,6 +1195,8 @@ mocha.describe('namespace caching: range read scenarios', () => {
assert(read_etag === expect_etag);

const read_hub_time = recorder.get_event('hub', obj.bucket, obj.key, EVENT_READ_OBJECT_STREAM);
console.log(`CHECK_VALUE: read_hub_time ${read_hub_time} err_trigger_time ${err_trigger_time}`);
// I noticed that we sometimes fail on this assertion in the CI, hence I added the printing above.
assert(read_hub_time > err_trigger_time);
});

Expand Down

0 comments on commit d18db43

Please sign in to comment.