Skip to content

Commit

Permalink
Merge 116228099-packagestest-failure to master
Browse files Browse the repository at this point in the history
[Completes #116228099]
  • Loading branch information
twoseat committed Mar 24, 2016
2 parents 585c083 + 10df39d commit 835724d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

import java.io.IOException;

import static org.junit.Assert.assertTrue;

public final class PackagesTest extends AbstractIntegrationTest {

@Autowired
Expand Down Expand Up @@ -77,7 +79,7 @@ public void upload() {
.build()))
.map(Package::getState)
.subscribe(testSubscriber()
.assertEquals("PROCESSING_UPLOAD"));
.assertThat(state -> assertTrue(state.equals("PROCESSING_UPLOAD") || state.equals("READY"))));
}

}

0 comments on commit 835724d

Please sign in to comment.