@@ -45,7 +45,7 @@ describe('PROFILE AGGREGATE', () => {
45
45
const res = await client . ft . profileAggregate ( 'index' , '*' ) ;
46
46
47
47
const normalizedRes = normalizeObject ( res ) ;
48
- assert . equal ( normalizedRes . results . total , 1 ) ;
48
+ assert . equal ( normalizedRes . results . total , 2 ) ;
49
49
50
50
assert . ok ( normalizedRes . profile [ 0 ] === 'Shards' ) ;
51
51
assert . ok ( Array . isArray ( normalizedRes . profile [ 1 ] ) ) ;
@@ -59,7 +59,7 @@ describe('PROFILE AGGREGATE', () => {
59
59
assert . ok ( shardProfile . includes ( 'Warning' ) ) ;
60
60
assert . ok ( shardProfile . includes ( 'Iterators profile' ) ) ;
61
61
62
- } , Object . assign ( GLOBAL . SERVERS . OPEN , { skipTest : true } ) ) ;
62
+ } , GLOBAL . SERVERS . OPEN ) ;
63
63
64
64
testUtils . testWithClientIfVersionWithinRange ( [ [ 7 , 2 , 0 ] , [ 7 , 4 , 0 ] ] , 'client.ft.search' , async client => {
65
65
await Promise . all ( [
@@ -104,7 +104,7 @@ describe('PROFILE AGGREGATE', () => {
104
104
const res = await client . ft . profileAggregate ( 'index' , '*' ) ;
105
105
106
106
const normalizedRes = normalizeObject ( res ) ;
107
- assert . equal ( normalizedRes . Results . total_results , 1 ) ;
107
+ assert . equal ( normalizedRes . Results . total_results , 2 ) ;
108
108
assert . ok ( normalizedRes . Profile . Shards ) ;
109
- } , Object . assign ( GLOBAL . SERVERS . OPEN_3 , { skipTest : true } ) ) ;
109
+ } , GLOBAL . SERVERS . OPEN_3 ) ;
110
110
} ) ;
0 commit comments