Skip to content

Commit 54b6b6b

Browse files
committed
re-activate on Jenkins failing unit test
1 parent 00b22d4 commit 54b6b6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

things/service/src/test/java/org/eclipse/ditto/things/service/persistence/actors/strategies/commands/AbstractCommandStrategyTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ protected static <T extends ThingModifiedEvent<?>> T assertStagedModificationRes
227227
assertThat(responseStage.getValue()).isInstanceOf(CompletionStage.class);
228228
CompletableFutureAssert.assertThatCompletionStage(responseStage.getValue())
229229
.isCompletedWithValueMatchingWithin(r -> r.equals(expectedResponse), COMPLETION_WAIT_TIME);
230+
231+
responseStage.getValue().toCompletableFuture().join();
230232
return (T) eventStage.getValue().toCompletableFuture().join();
231233
}
232234

things/service/src/test/java/org/eclipse/ditto/things/service/persistence/actors/strategies/commands/MigrateThingDefinitionStrategyTest.java

-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import org.eclipse.ditto.things.model.signals.events.ThingEvent;
3333
import org.eclipse.ditto.things.service.persistence.actors.ETagTestUtils;
3434
import org.junit.Before;
35-
import org.junit.Ignore;
3635
import org.junit.Test;
3736

3837
import com.typesafe.config.ConfigFactory;
@@ -52,7 +51,6 @@ public void setUp() throws Exception {
5251

5352

5453
@Test
55-
@Ignore("temp ignored for release")
5654
public void migrateExistingThing() {
5755
final CommandStrategy.Context<ThingId> context = getDefaultContext();
5856
final ThingId thingId = context.getState();

0 commit comments

Comments
 (0)