@@ -124,7 +124,7 @@ public void testSimpleOpenClose() throws Exception {
124124
125125 logger .info ("--> trying to index into a closed index ..." );
126126 try {
127- client ().prepareIndex ("test" , "type1" , "1" ).setSource ("field1" , "value1" ).setTimeout ( "1s" ). execute ().actionGet ();
127+ client ().prepareIndex ("test" , "type1" , "1" ).setSource ("field1" , "value1" ).execute ().actionGet ();
128128 fail ();
129129 } catch (IndexClosedException e ) {
130130 // all is well
@@ -168,7 +168,7 @@ public void testSimpleOpenClose() throws Exception {
168168
169169 logger .info ("--> trying to index into a closed index ..." );
170170 try {
171- client ().prepareIndex ("test" , "type1" , "1" ).setSource ("field1" , "value1" ).setTimeout ( "1s" ). execute ().actionGet ();
171+ client ().prepareIndex ("test" , "type1" , "1" ).setSource ("field1" , "value1" ).execute ().actionGet ();
172172 fail ();
173173 } catch (IndexClosedException e ) {
174174 // all is well
@@ -229,7 +229,7 @@ public void testJustMasterNodeAndJustDataNode() throws Exception {
229229 logger .info ("--> create an index" );
230230 client ().admin ().indices ().prepareCreate ("test" ).execute ().actionGet ();
231231
232- client ().prepareIndex ("test" , "type1" ).setSource ("field1" , "value1" ).setTimeout ( "100ms" ). execute ().actionGet ();
232+ client ().prepareIndex ("test" , "type1" ).setSource ("field1" , "value1" ).execute ().actionGet ();
233233 }
234234
235235 public void testTwoNodesSingleDoc () throws Exception {
0 commit comments