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:
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 );