Skip to content

Commit 51cec93

Browse files
committed
test check
1 parent acbdc94 commit 51cec93

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Diff for: src/test/unit_tests/jest_tests/test_unsort_list_object.test.js

+2-5
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ describe('manage unsorted list objcts flow', () => {
240240
...files_in_inner_folders_to_upload_post
241241
]);
242242
});
243-
afterAll(async function() {
243+
afterAll(async () => {
244244
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = false;
245245
await delete_keys(upload_bkt, ns_tmp, [
246246
...folders_to_upload,
@@ -356,7 +356,7 @@ describe('manage unsorted list objcts flow', () => {
356356
]);
357357
await P.delay(5 * 1000);
358358
}, timeout);
359-
afterAll(async function() {
359+
afterAll(async () => {
360360
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = false;
361361
await delete_keys(list_bkt, ns_nsfs_tmp, [
362362
...folders_to_upload,
@@ -386,7 +386,6 @@ describe('manage unsorted list objcts flow', () => {
386386
}
387387
}, timeout);
388388
it('page=500 and list_type 2', async () => {
389-
await P.delay(5 * 1000);
390389
let r;
391390
let total_items = 0;
392391
for (;;) {
@@ -404,7 +403,6 @@ describe('manage unsorted list objcts flow', () => {
404403
}
405404
}, timeout);
406405
it('page=250 and list_type 2', async () => {
407-
await P.delay(5 * 1000);
408406
let r;
409407
let total_items = 0;
410408
for (;;) {
@@ -422,7 +420,6 @@ describe('manage unsorted list objcts flow', () => {
422420
}
423421
}, timeout);
424422
it('page=100 and list_type 2', async () => {
425-
await P.delay(5 * 1000);
426423
let r;
427424
let total_items = 0;
428425
for (;;) {

0 commit comments

Comments
 (0)