From eae46f30e12c9fa6d9452d84a7421b8244f42441 Mon Sep 17 00:00:00 2001 From: shirady <57721533+shirady@users.noreply.github.com> Date: Tue, 2 Jan 2024 15:51:53 +0200 Subject: [PATCH] add a printing to test Adding the values to be printed in the console before assert them in test_namespace_cache.js. Signed-off-by: shirady <57721533+shirady@users.noreply.github.com> --- src/test/unit_tests/test_namespace_cache.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/unit_tests/test_namespace_cache.js b/src/test/unit_tests/test_namespace_cache.js index 9494a20faf..5c384fac9c 100644 --- a/src/test/unit_tests/test_namespace_cache.js +++ b/src/test/unit_tests/test_namespace_cache.js @@ -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); });