File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -888,7 +888,7 @@ mod tests {
888
888
889
889
// Record the walltime and execution time of an async sleep.
890
890
let async_sleep_future = async {
891
- tokio:: time:: sleep ( tokio:: time:: Duration :: from_secs ( 1 ) ) . await ;
891
+ tokio:: time:: sleep ( tokio:: time:: Duration :: from_secs ( 3 ) ) . await ;
892
892
} ;
893
893
runtime. block_on (
894
894
async_sleep_future
@@ -911,7 +911,7 @@ mod tests {
911
911
let exec_histogram = exec_metric[ 0 ] . get_histogram ( ) ;
912
912
assert_eq ! ( exec_histogram. get_sample_count( ) , 1 ) ;
913
913
// The 4th bucket is 1ms, which we should complete faster than, but is still much quicker
914
- // than the 1 second we slept for.
914
+ // than the 3 seconds we slept for.
915
915
assert_eq ! ( exec_histogram. get_bucket( ) [ 3 ] . get_cumulative_count( ) , 1 ) ;
916
916
917
917
let wall_family = reports
Original file line number Diff line number Diff line change 17
17
# tolerances into these checks that verify whether induced lag is present. A
18
18
# threshold value of 2 seconds seems to work fine.
19
19
20
+ $ set-sql-timeout duration=60s
21
+
20
22
$ postgres-connect name=mz_system url=postgres://mz_system:materialize@${testdrive.materialize-internal-sql-addr}
21
23
22
24
$ postgres-execute connection=mz_system
You can’t perform that action at this time.
0 commit comments