Skip to content

Commit 8d0bc73

Browse files
authored
Remove sleeps from tagging test. (#402)
1 parent 7afd090 commit 8d0bc73

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/test/java/com/dropbox/core/v2/files/TagObjectIT.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,23 +36,18 @@ public void testTagging() throws Exception {
3636
client.files().uploadBuilder(dropboxPath)
3737
.withMode(WriteMode.OVERWRITE)
3838
.uploadAndFinish(new ByteArrayInputStream(contents));
39-
Thread.sleep(1000);
4039

4140
// Add Tag "a" to file
4241
client.files().tagsAdd(dropboxPath, "a");
43-
Thread.sleep(1000);
4442

4543
List<TagObject> tagsWithA = getTagsForPath(client, dropboxPath);
4644
assertEquals("a", tagsWithA.get(0).getUserGeneratedTagValue().getTagText());
47-
Thread.sleep(1000);
4845

4946
// Remove Tag "a" from file
5047
client.files().tagsRemove(dropboxPath, "a");
51-
Thread.sleep(1000);
5248

5349
List<TagObject> tagsNone = getTagsForPath(client, dropboxPath);
5450
assertEquals(0, tagsNone.size());
55-
Thread.sleep(1000);
5651

5752
// Cleanup, delete our test directory.
5853
client.files().deleteV2(dropboxPath);

0 commit comments

Comments
 (0)