File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,11 @@ public void testJobRelocation() throws Exception {
4848 Job .Builder job = createJob ("relocation-job" , new ByteSizeValue (2 , ByteSizeUnit .MB ));
4949 PutJobAction .Request putJobRequest = new PutJobAction .Request (job );
5050 client ().execute (PutJobAction .INSTANCE , putJobRequest ).actionGet ();
51- ensureGreen ();
5251
5352 OpenJobAction .Request openJobRequest = new OpenJobAction .Request (job .getId ());
5453 AcknowledgedResponse openJobResponse = client ().execute (OpenJobAction .INSTANCE , openJobRequest ).actionGet ();
5554 assertTrue (openJobResponse .isAcknowledged ());
55+ ensureGreen ();
5656
5757 // Record which node the job starts off on
5858 String origJobNode = awaitJobOpenedAndAssigned (job .getId (), null );
You can’t perform that action at this time.
0 commit comments