Skip to content

Commit

Permalink
Fixed a bug that a test failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
taojing2002 committed Jan 26, 2022
1 parent 48f263d commit 32eb7da
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -114,7 +114,7 @@ public void testSetAndGetMetadata() throws Exception {
try (InputStream is = getClass().getClassLoader().getResourceAsStream("test-files/input-one-osti-id.xml")) {
String newMetadata = OSTIElinkServiceTest.toString(is);
client.setMetadata(identifier, newMetadata);
Thread.sleep(1000);
Thread.sleep(5000);
metadata = client.getMetadata(identifier);
assertTrue(metadata.contains(identifier));
assertTrue(metadata.contains("<title>1 - Data from Raczka et al., Interactions between"));
Expand Down

0 comments on commit 32eb7da

Please sign in to comment.