Skip to content

Commit c51a3b3

Browse files
shmsrCopilot
andauthored
Update x-pack/metricbeat/module/sql/query/query_integration_test.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b75c300 commit c51a3b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/metricbeat/module/sql/query/query_integration_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ func waitForOracleConnection(t *testing.T, host, port string) {
376376
return
377377
}
378378

379-
// (1<<uint(i)) == 2^i (doubles the delay each time) * baseDelay
379+
// (1<<uint(i)) == 2^i, which doubles the delay at each iteration, then multiply by baseDelay
380380
delay := time.Duration(1<<uint(i)) * baseDelay
381381
// But don't let the delay get too long; max out at 30 seconds
382382
if delay > 30*time.Second {

0 commit comments

Comments
 (0)