@@ -73,7 +73,7 @@ func TestSmokeIngestEventsToStream(t *testing.T) {
73
73
RunFlog (t , NewGlob .IngestorClient , NewGlob .Stream )
74
74
}
75
75
// Calling Sleep method
76
- time .Sleep (60 * time .Second )
76
+ time .Sleep (120 * time .Second )
77
77
78
78
QueryLogStreamCount (t , NewGlob .QueryClient , NewGlob .Stream , 50 )
79
79
AssertStreamSchema (t , NewGlob .QueryClient , NewGlob .Stream , FlogJsonSchema )
@@ -88,7 +88,6 @@ func TestTimePartition_TimeStampMismatch(t *testing.T) {
88
88
IngestOneEventWithTimePartition_TimeStampMismatch (t , NewGlob .QueryClient , historicalStream )
89
89
} else {
90
90
IngestOneEventWithTimePartition_TimeStampMismatch (t , NewGlob .IngestorClient , historicalStream )
91
-
92
91
}
93
92
DeleteStream (t , NewGlob .QueryClient , historicalStream )
94
93
}
@@ -189,6 +188,7 @@ func TestLoadStream_StaticSchema_EventWithNewField(t *testing.T) {
189
188
}
190
189
DeleteStream (t , NewGlob .QueryClient , staticSchemaStream )
191
190
}
191
+
192
192
func TestSmokeQueryTwoStreams (t * testing.T ) {
193
193
stream1 := NewGlob .Stream + "1"
194
194
stream2 := NewGlob .Stream + "2"
@@ -202,7 +202,7 @@ func TestSmokeQueryTwoStreams(t *testing.T) {
202
202
RunFlog (t , NewGlob .IngestorClient , stream2 )
203
203
204
204
}
205
- time .Sleep (60 * time .Second )
205
+ time .Sleep (120 * time .Second )
206
206
QueryTwoLogStreamCount (t , NewGlob .QueryClient , stream1 , stream2 , 100 )
207
207
DeleteStream (t , NewGlob .QueryClient , stream1 )
208
208
DeleteStream (t , NewGlob .QueryClient , stream2 )
@@ -214,9 +214,8 @@ func TestSmokeRunQueries(t *testing.T) {
214
214
RunFlog (t , NewGlob .QueryClient , NewGlob .Stream )
215
215
} else {
216
216
RunFlog (t , NewGlob .IngestorClient , NewGlob .Stream )
217
-
218
217
}
219
- time .Sleep (60 * time .Second )
218
+ time .Sleep (120 * time .Second )
220
219
// test count
221
220
QueryLogStreamCount (t , NewGlob .QueryClient , NewGlob .Stream , 50 )
222
221
// test yeild all values
@@ -373,7 +372,6 @@ func TestSmokeSetAlert(t *testing.T) {
373
372
require .Equalf (t , 200 , response .StatusCode , "Server returned http code: %s and response: %s" , response .Status , readAsString (response .Body ))
374
373
375
374
}
376
-
377
375
}
378
376
379
377
func TestSmokeGetAlert (t * testing.T ) {
@@ -400,7 +398,6 @@ func TestSmokeSetRetention(t *testing.T) {
400
398
response , err := NewGlob .QueryClient .Do (req )
401
399
require .NoErrorf (t , err , "Request failed: %s" , err )
402
400
require .Equalf (t , 200 , response .StatusCode , "Server returned http code: %s and response: %s" , response .Status , readAsString (response .Body ))
403
-
404
401
}
405
402
406
403
func TestSmokeGetRetention (t * testing.T ) {
@@ -439,7 +436,6 @@ func TestSmoke_NewUserNoRole(t *testing.T) {
439
436
440
437
CreateUser (t , NewGlob .QueryClient , "dummyuser" )
441
438
DeleteStream (t , NewGlob .QueryClient , NewGlob .Stream )
442
-
443
439
}
444
440
445
441
func TestSmokeRbacBasic (t * testing.T ) {
@@ -504,7 +500,6 @@ func TestSmokeRoles(t *testing.T) {
504
500
DeleteRole (t , NewGlob .QueryClient , tc .roleName )
505
501
})
506
502
}
507
-
508
503
}
509
504
510
505
func TestLoadStreamBatchWithK6 (t * testing.T ) {
0 commit comments