diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 22:37:15 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 22:37:15 +0000 |
commit | 1e08828689f950e51483f4df7c72b5fe623aea34 (patch) | |
tree | cb864c7321d746407fdadb889538cf9420801c95 /branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java | |
parent | e691784d79c0f1c401ed770596c965f8e6b708b3 (diff) |
Making delay available from a constant class and bumping it to 400 to see if it helps with some of the gdata extension build issues
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@810291 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java')
-rw-r--r-- | branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java b/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java index 69c17aa447..89f48f08d0 100644 --- a/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java +++ b/branches/sca-java-1.x/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java @@ -78,7 +78,7 @@ public class GoogleBloggerServiceTestCase { String entryID = "2889832689497686762"; String newBlogEntryTitle = "updatedTitleByTestCase2"; testService.clientPut(entryID, newBlogEntryTitle); //update the title - Thread.sleep(300); + Thread.sleep(Constants.SLEEP_INTERVAL); Entry updatedEntry = testService.clientGetEntry(entryID); Assert.assertEquals(newBlogEntryTitle, updatedEntry.getTitle().getPlainText()); } @@ -108,7 +108,7 @@ public class GoogleBloggerServiceTestCase { newEntry.setTitle(new PlainTextConstruct("blogEntryShouldNotApear")); newEntry.setContent(new PlainTextConstruct("contentByBloggerShouldNotAppear")); Entry postedEntry = testService.clientPost(newEntry); - Thread.sleep(300); + Thread.sleep(Constants.SLEEP_INTERVAL); int idStartPosition = postedEntry.getId().lastIndexOf("-"); String postedEntryID = postedEntry.getId().substring(idStartPosition+1); System.out.println("postedEntryID: " + postedEntryID ); |