@@ -78,7 +78,7 @@ describe('manage unsorted list objcts flow', () => {
78
78
} ) ;
79
79
} ) ;
80
80
81
- describe ( 'Telldir and Seekdir implementation' , ( ) => {
81
+ /* describe('Telldir and Seekdir implementation', () => {
82
82
const tmp_fs_path = path.join(TMP_PATH, 'test_list_object');
83
83
const list_dir_root = path.join(tmp_fs_path, 'list_dir_root');
84
84
const list_dir_1_1 = path.join(list_dir_root, 'list_dir_1_1');
@@ -224,10 +224,10 @@ describe('manage unsorted list objcts flow', () => {
224
224
//total number of dir and files inside list_dir_root is 5
225
225
expect(total_dir_entries).toBe(10000);
226
226
});
227
- } ) ;
227
+ });*/
228
228
229
229
230
- describe ( 'list objects - dirs' , ( ) => {
230
+ /* describe('list objects - dirs', () => {
231
231
beforeAll(async () => {
232
232
config.NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true;
233
233
await fs_utils.create_fresh_path(ns_tmp_bucket_path);
@@ -339,7 +339,7 @@ describe('manage unsorted list objcts flow', () => {
339
339
expect(r.objects.map(it => it.key)).not.toContain("folder1/ainner_folder/file50");
340
340
expect(r.objects.map(it => it.key)).not.toContain("folder1/ainner_folder/file49");
341
341
});
342
- } ) ;
342
+ });*/
343
343
344
344
describe ( 'list objects - pagination' , ( ) => {
345
345
beforeAll ( async ( ) => {
@@ -367,6 +367,7 @@ describe('manage unsorted list objcts flow', () => {
367
367
await fs_utils . folder_delete ( `${ ns_nsfs_tmp_bucket_path } ` ) ;
368
368
} ) ;
369
369
it ( 'page=1000 and list_type 2' , async ( ) => {
370
+ config . NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true ;
370
371
let r ;
371
372
let total_items = 0 ;
372
373
for ( ; ; ) {
@@ -383,6 +384,7 @@ describe('manage unsorted list objcts flow', () => {
383
384
}
384
385
} , timeout ) ;
385
386
it ( 'page=500 and list_type 2' , async ( ) => {
387
+ config . NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true ;
386
388
let r ;
387
389
let total_items = 0 ;
388
390
for ( ; ; ) {
@@ -400,6 +402,7 @@ describe('manage unsorted list objcts flow', () => {
400
402
}
401
403
} , timeout ) ;
402
404
it ( 'page=250 and list_type 2' , async ( ) => {
405
+ config . NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true ;
403
406
let r ;
404
407
let total_items = 0 ;
405
408
for ( ; ; ) {
@@ -417,6 +420,7 @@ describe('manage unsorted list objcts flow', () => {
417
420
}
418
421
} , timeout ) ;
419
422
it ( 'page=100 and list_type 2' , async ( ) => {
423
+ config . NSFS_LIST_OBJECTS_V2_UNSORTED_ENABLED = true ;
420
424
let r ;
421
425
let total_items = 0 ;
422
426
for ( ; ; ) {
0 commit comments