File tree 1 file changed +1
-1
lines changed
x-pack/plugin/ml/src/test/java/org/elasticsearch/xpack/ml/integration
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 {
48
48
Job .Builder job = createJob ("relocation-job" , new ByteSizeValue (2 , ByteSizeUnit .MB ));
49
49
PutJobAction .Request putJobRequest = new PutJobAction .Request (job );
50
50
client ().execute (PutJobAction .INSTANCE , putJobRequest ).actionGet ();
51
- ensureGreen ();
52
51
53
52
OpenJobAction .Request openJobRequest = new OpenJobAction .Request (job .getId ());
54
53
AcknowledgedResponse openJobResponse = client ().execute (OpenJobAction .INSTANCE , openJobRequest ).actionGet ();
55
54
assertTrue (openJobResponse .isAcknowledged ());
55
+ ensureGreen ();
56
56
57
57
// Record which node the job starts off on
58
58
String origJobNode = awaitJobOpenedAndAssigned (job .getId (), null );
You can’t perform that action at this time.
0 commit comments