summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.x/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.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.java4
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 );