@@ -80,6 +80,98 @@ public static void applyCustomizations(final TestDef def) {
8080 .test ("client-side-operations-timeout" , "WaitQueueTimeoutError does not clear the pool" ,
8181 "WaitQueueTimeoutError does not clear the pool" );
8282
83+ def .skipJira ("https://jira.mongodb.org/browse/JAVA-5491" )
84+ .testContains ("client-side-operations-timeout" , "dropIndex" )
85+ .when (() -> !serverVersionLessThan (8 , 3 ))
86+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
87+ "socketTimeoutMS is ignored if timeoutMS is set - dropIndex on collection" )
88+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
89+ "wTimeoutMS is ignored if timeoutMS is set - dropIndex on collection" )
90+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
91+ "maxTimeMS is ignored if timeoutMS is set - dropIndex on collection" )
92+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
93+ "socketTimeoutMS is ignored if timeoutMS is set - dropIndexes on collection" )
94+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
95+ "wTimeoutMS is ignored if timeoutMS is set - dropIndexes on collection" )
96+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
97+ "maxTimeMS is ignored if timeoutMS is set - dropIndexes on collection" )
98+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
99+ "timeoutMS can be configured on a MongoDatabase - dropIndex on collection" )
100+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
101+ "timeoutMS can be set to 0 on a MongoDatabase - dropIndex on collection" )
102+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
103+ "timeoutMS can be configured on a MongoDatabase - dropIndexes on collection" )
104+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
105+ "timeoutMS can be set to 0 on a MongoDatabase - dropIndexes on collection" )
106+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
107+ "timeoutMS can be configured on a MongoCollection - dropIndex on collection" )
108+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
109+ "timeoutMS can be set to 0 on a MongoCollection - dropIndex on collection" )
110+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
111+ "timeoutMS can be configured on a MongoCollection - dropIndexes on collection" )
112+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
113+ "timeoutMS can be set to 0 on a MongoCollection - dropIndexes on collection" )
114+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
115+ "timeoutMS can be configured for an operation - dropIndex on collection" )
116+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
117+ "timeoutMS can be set to 0 for an operation - dropIndex on collection" )
118+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
119+ "timeoutMS can be configured for an operation - dropIndexes on collection" )
120+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
121+ "timeoutMS can be set to 0 for an operation - dropIndexes on collection" )
122+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
123+ "timeoutMS can be configured on a MongoClient - dropIndex on collection" )
124+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
125+ "timeoutMS can be set to 0 on a MongoClient - dropIndex on collection" )
126+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
127+ "timeoutMS can be configured on a MongoClient - dropIndexes on collection" )
128+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
129+ "timeoutMS can be set to 0 on a MongoClient - dropIndexes on collection" )
130+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
131+ "socketTimeoutMS is ignored if timeoutMS is set - dropIndex on collection" )
132+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
133+ "wTimeoutMS is ignored if timeoutMS is set - dropIndex on collection" )
134+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
135+ "maxTimeMS is ignored if timeoutMS is set - dropIndex on collection" )
136+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
137+ "socketTimeoutMS is ignored if timeoutMS is set - dropIndexes on collection" )
138+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
139+ "wTimeoutMS is ignored if timeoutMS is set - dropIndexes on collection" )
140+ .test ("client-side-operations-timeout" , "operations ignore deprecated timeout options if timeoutMS is set" ,
141+ "maxTimeMS is ignored if timeoutMS is set - dropIndexes on collection" )
142+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
143+ "timeoutMS can be configured on a MongoDatabase - dropIndex on collection" )
144+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
145+ "timeoutMS can be set to 0 on a MongoDatabase - dropIndex on collection" )
146+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
147+ "timeoutMS can be configured on a MongoDatabase - dropIndexes on collection" )
148+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoDatabase" ,
149+ "timeoutMS can be set to 0 on a MongoDatabase - dropIndexes on collection" )
150+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
151+ "timeoutMS can be configured on a MongoCollection - dropIndex on collection" )
152+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
153+ "timeoutMS can be set to 0 on a MongoCollection - dropIndex on collection" )
154+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
155+ "timeoutMS can be configured on a MongoCollection - dropIndexes on collection" )
156+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for a MongoCollection" ,
157+ "timeoutMS can be set to 0 on a MongoCollection - dropIndexes on collection" )
158+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
159+ "timeoutMS can be configured for an operation - dropIndex on collection" )
160+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
161+ "timeoutMS can be set to 0 for an operation - dropIndex on collection" )
162+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
163+ "timeoutMS can be configured for an operation - dropIndexes on collection" )
164+ .test ("client-side-operations-timeout" , "timeoutMS can be overridden for an operation" ,
165+ "timeoutMS can be set to 0 for an operation - dropIndexes on collection" )
166+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
167+ "timeoutMS can be configured on a MongoClient - dropIndex on collection" )
168+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
169+ "timeoutMS can be set to 0 on a MongoClient - dropIndex on collection" )
170+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
171+ "timeoutMS can be configured on a MongoClient - dropIndexes on collection" )
172+ .test ("client-side-operations-timeout" , "timeoutMS can be configured on a MongoClient" ,
173+ "timeoutMS can be set to 0 on a MongoClient - dropIndexes on collection" );
174+
83175 // TODO-JAVA-5712
84176
85177 // collection-management
0 commit comments