@@ -45,7 +45,6 @@ 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 , 2 ) ;
49
48
50
49
assert . ok ( normalizedRes . profile [ 0 ] === 'Shards' ) ;
51
50
assert . ok ( Array . isArray ( normalizedRes . profile [ 1 ] ) ) ;
@@ -73,7 +72,6 @@ describe('PROFILE AGGREGATE', () => {
73
72
const normalizeObject = obj => JSON . parse ( JSON . stringify ( obj ) ) ;
74
73
const res = await client . ft . profileAggregate ( 'index' , '*' ) ;
75
74
const normalizedRes = normalizeObject ( res ) ;
76
- assert . equal ( normalizedRes . results . total , 2 ) ;
77
75
78
76
assert . ok ( Array . isArray ( normalizedRes . profile ) ) ;
79
77
assert . equal ( normalizedRes . profile [ 0 ] [ 0 ] , 'Total profile time' ) ;
@@ -104,7 +102,6 @@ describe('PROFILE AGGREGATE', () => {
104
102
const res = await client . ft . profileAggregate ( 'index' , '*' ) ;
105
103
106
104
const normalizedRes = normalizeObject ( res ) ;
107
- assert . equal ( normalizedRes . Results . total_results , 2 ) ;
108
105
assert . ok ( normalizedRes . Profile . Shards ) ;
109
106
} , GLOBAL . SERVERS . OPEN_3 ) ;
110
107
} ) ;
0 commit comments