Skip to content

Commit 8034ed2

Browse files
committed
check test
1 parent 77fc48b commit 8034ed2

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

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

+8-4
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ describe('manage unsorted list objcts flow', () => {
7878
});
7979
});
8080

81-
describe('Telldir and Seekdir implementation', () => {
81+
/*describe('Telldir and Seekdir implementation', () => {
8282
const tmp_fs_path = path.join(TMP_PATH, 'test_list_object');
8383
const list_dir_root = path.join(tmp_fs_path, 'list_dir_root');
8484
const list_dir_1_1 = path.join(list_dir_root, 'list_dir_1_1');
@@ -224,10 +224,10 @@ describe('manage unsorted list objcts flow', () => {
224224
//total number of dir and files inside list_dir_root is 5
225225
expect(total_dir_entries).toBe(10000);
226226
});
227-
});
227+
});*/
228228

229229

230-
describe('list objects - dirs', () => {
230+
/*describe('list objects - dirs', () => {
231231
beforeAll(async () => {
232232
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
233233
await fs_utils.create_fresh_path(ns_tmp_bucket_path);
@@ -339,7 +339,7 @@ describe('manage unsorted list objcts flow', () => {
339339
expect(r.objects.map(it => it.key)).not.toContain("folder1/ainner_folder/file50");
340340
expect(r.objects.map(it => it.key)).not.toContain("folder1/ainner_folder/file49");
341341
});
342-
});
342+
});*/
343343

344344
describe('list objects - pagination', () => {
345345
beforeAll(async () => {
@@ -367,6 +367,7 @@ describe('manage unsorted list objcts flow', () => {
367367
await fs_utils.folder_delete(`${ns_nsfs_tmp_bucket_path}`);
368368
});
369369
it('page=1000 and list_type 2', async () => {
370+
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
370371
let r;
371372
let total_items = 0;
372373
for (;;) {
@@ -383,6 +384,7 @@ describe('manage unsorted list objcts flow', () => {
383384
}
384385
}, timeout);
385386
it('page=500 and list_type 2', async () => {
387+
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
386388
let r;
387389
let total_items = 0;
388390
for (;;) {
@@ -400,6 +402,7 @@ describe('manage unsorted list objcts flow', () => {
400402
}
401403
}, timeout);
402404
it('page=250 and list_type 2', async () => {
405+
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
403406
let r;
404407
let total_items = 0;
405408
for (;;) {
@@ -417,6 +420,7 @@ describe('manage unsorted list objcts flow', () => {
417420
}
418421
}, timeout);
419422
it('page=100 and list_type 2', async () => {
423+
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
420424
let r;
421425
let total_items = 0;
422426
for (;;) {

0 commit comments

Comments
 (0)