diff --git a/src/test/unit_tests/jest_tests/test_unsort_list_object.test.js b/src/test/unit_tests/jest_tests/test_unsort_list_object.test.js index 3e621ed8ff..1cc743b4f8 100644 --- a/src/test/unit_tests/jest_tests/test_unsort_list_object.test.js +++ b/src/test/unit_tests/jest_tests/test_unsort_list_object.test.js @@ -240,7 +240,7 @@ describe('manage unsorted list objcts flow', () => { ...files_in_inner_folders_to_upload_post ]); }); - afterAll(async function() { + afterAll(async () => { config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = false; await delete_keys(upload_bkt, ns_tmp, [ ...folders_to_upload, @@ -356,7 +356,7 @@ describe('manage unsorted list objcts flow', () => { ]); await P.delay(5 * 1000); }, timeout); - afterAll(async function() { + afterAll(async () => { config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = false; await delete_keys(list_bkt, ns_nsfs_tmp, [ ...folders_to_upload, @@ -386,7 +386,6 @@ describe('manage unsorted list objcts flow', () => { } }, timeout); it('page=500 and list_type 2', async () => { - await P.delay(5 * 1000); let r; let total_items = 0; for (;;) { @@ -404,7 +403,6 @@ describe('manage unsorted list objcts flow', () => { } }, timeout); it('page=250 and list_type 2', async () => { - await P.delay(5 * 1000); let r; let total_items = 0; for (;;) { @@ -422,7 +420,6 @@ describe('manage unsorted list objcts flow', () => { } }, timeout); it('page=100 and list_type 2', async () => { - await P.delay(5 * 1000); let r; let total_items = 0; for (;;) {