We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 585c083 + 10df39d commit 835724dCopy full SHA for 835724d
integration-test/src/test/java/org/cloudfoundry/client/v3/PackagesTest.java
@@ -32,6 +32,8 @@
32
33
import java.io.IOException;
34
35
+import static org.junit.Assert.assertTrue;
36
+
37
public final class PackagesTest extends AbstractIntegrationTest {
38
39
@Autowired
@@ -77,7 +79,7 @@ public void upload() {
77
79
.build()))
78
80
.map(Package::getState)
81
.subscribe(testSubscriber()
- .assertEquals("PROCESSING_UPLOAD"));
82
+ .assertThat(state -> assertTrue(state.equals("PROCESSING_UPLOAD") || state.equals("READY"))));
83
}
84
85
0 commit comments