Commit 486b41d
* Fix flaky test #JAVA-6016
The test shouldUseConnectTimeoutMsWhenEstablishingConnectionInBackground only fails
with a variant tests-require-api-version
The reason is that this variant passes -Dorg.mongodb.test.api.version=1 which makes an API version to be V1
In this version the hello command is `hello` but this test case assumes it's `isMaster`
* remove unused import
---------
Co-authored-by: Almas Abdrazak <abdrazak.almas@mongodb.com>
1 parent 057649f commit 486b41d
File tree
2 files changed
+21
-5
lines changed- driver-core/src/main/com/mongodb/internal/connection
- driver-sync/src/test/functional/com/mongodb/client
2 files changed
+21
-5
lines changedLines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
38 | 42 | | |
39 | 43 | | |
40 | 44 | | |
41 | | - | |
42 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
Lines changed: 13 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
| |||
1051 | 1055 | | |
1052 | 1056 | | |
1053 | 1057 | | |
1054 | | - | |
1055 | | - | |
| 1058 | + | |
1056 | 1059 | | |
1057 | 1060 | | |
1058 | 1061 | | |
| |||
1136 | 1139 | | |
1137 | 1140 | | |
1138 | 1141 | | |
1139 | | - | |
| 1142 | + | |
1140 | 1143 | | |
1141 | 1144 | | |
1142 | 1145 | | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
| 1149 | + | |
| 1150 | + | |
| 1151 | + | |
| 1152 | + | |
1143 | 1153 | | |
0 commit comments