@@ -136,7 +136,7 @@ func TestUserActivityInsights_SanityCheck(t *testing.T) {
136
136
Pubsub : ps ,
137
137
Logger : & logger ,
138
138
IncludeProvisionerDaemon : true ,
139
- AgentStatsRefreshInterval : time .Millisecond * 50 ,
139
+ AgentStatsRefreshInterval : time .Millisecond * 100 ,
140
140
DatabaseRolluper : dbrollup .New (
141
141
logger .Named ("dbrollup" ),
142
142
db ,
@@ -170,7 +170,7 @@ func TestUserActivityInsights_SanityCheck(t *testing.T) {
170
170
y , m , d := time .Now ().UTC ().Date ()
171
171
today := time .Date (y , m , d , 0 , 0 , 0 , 0 , time .UTC )
172
172
173
- ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitLong )
173
+ ctx , cancel := context .WithTimeout (context .Background (), testutil .WaitSuperLong )
174
174
defer cancel ()
175
175
176
176
// Connect to the agent to generate usage/latency stats.
@@ -212,7 +212,7 @@ func TestUserActivityInsights_SanityCheck(t *testing.T) {
212
212
return false
213
213
}
214
214
return len (userActivities .Report .Users ) > 0 && userActivities .Report .Users [0 ].Seconds > 0
215
- }, testutil .WaitMedium , testutil .IntervalFast , "user activity is missing" )
215
+ }, testutil .WaitSuperLong , testutil .IntervalMedium , "user activity is missing" )
216
216
217
217
// We got our latency data, close the connection.
218
218
_ = sess .Close ()
0 commit comments