summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
diff options
context:
space:
mode:
authorlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-01 22:00:26 +0000
committerlresende <lresende@13f79535-47bb-0310-9956-ffa450edef68>2009-09-01 22:00:26 +0000
commit660cf026292d0b31bf873d796300a48dee7cc6a4 (patch)
treeebbfe11ed5296b243015bedf4fba7ec8afcb1e0e /branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
parenteee35580521b2b354a81d31bd96500f659323839 (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@810264 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java')
-rw-r--r--branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java b/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
index 87f94a6fd3..8623f8339e 100644
--- a/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleBloggerServiceTestCase.java
+++ b/branches/sca-java-1.5.1/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());
}
@@ -110,7 +110,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 );