Commit 5a23f48
committed
[yugabyte#5039] Increase timeout in CQL tests
Summary:
In CppCassandraDriverTest.Rejection we spam server with batch statements and check how queries are being delayed because of artificial rejection.
Currently we use timeout of 12 seconds and wait half of timeout to interpret such query as pending.
And expect that at most 1/3 of queries are being in this state.
But since this test is generates significant load on server sometimes we get more queries marked as pending.
Increased timeout to 20s to fix this issue.
Test Plan: ybd --gtest_filter CppCassandraDriverTest.Rejection -n 40
Reviewers: timur
Reviewed By: timur
Subscribers: ybase
Differential Revision: https://phabricator.dev.yugabyte.com/D122471 parent 4cf9242 commit 5a23f48
File tree
2 files changed
+15
-10
lines changed- src/yb/integration-tests
2 files changed
+15
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2945 | 2945 | | |
2946 | 2946 | | |
2947 | 2947 | | |
2948 | | - | |
2949 | 2948 | | |
2950 | | - | |
2951 | | - | |
2952 | | - | |
2953 | | - | |
| 2949 | + | |
| 2950 | + | |
| 2951 | + | |
| 2952 | + | |
2954 | 2953 | | |
2955 | 2954 | | |
2956 | | - | |
| 2955 | + | |
| 2956 | + | |
2957 | 2957 | | |
| 2958 | + | |
| 2959 | + | |
| 2960 | + | |
| 2961 | + | |
| 2962 | + | |
2958 | 2963 | | |
2959 | 2964 | | |
2960 | 2965 | | |
2961 | | - | |
| 2966 | + | |
2962 | 2967 | | |
2963 | 2968 | | |
2964 | 2969 | | |
| |||
2969 | 2974 | | |
2970 | 2975 | | |
2971 | 2976 | | |
2972 | | - | |
2973 | | - | |
2974 | 2977 | | |
2975 | 2978 | | |
2976 | 2979 | | |
| |||
2986 | 2989 | | |
2987 | 2990 | | |
2988 | 2991 | | |
| 2992 | + | |
| 2993 | + | |
2989 | 2994 | | |
2990 | 2995 | | |
2991 | 2996 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | | - | |
| 424 | + | |
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| |||
0 commit comments