summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.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/GoogleCalendarServiceTestCase.java')
-rw-r--r--branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.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/GoogleCalendarServiceTestCase.java b/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
index 882716575b..4451c40faf 100644
--- a/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
+++ b/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleCalendarServiceTestCase.java
@@ -83,7 +83,7 @@ public class GoogleCalendarServiceTestCase extends TestCase{
String entryID = "1c76lcl70jg9r0fm18rcbneea8";
String newBlogEntryTitle = "updatedTitleByGoogleContactsConsumerTestCase";
testService.clientPut(entryID, newBlogEntryTitle); //update the title
- Thread.sleep(300);
+ Thread.sleep(Constants.SLEEP_INTERVAL);
Entry updatedEntry = testService.clientGetEntry(entryID);
assertEquals(newBlogEntryTitle, updatedEntry.getTitle().getPlainText());
}
@@ -113,7 +113,7 @@ public class GoogleCalendarServiceTestCase extends TestCase{
newEntry.setTitle(new PlainTextConstruct("calendarEntryShouldNotApear"));
newEntry.setContent(new PlainTextConstruct("calendarByBloggerShouldNotAppear"));
Entry postedEntry = testService.clientPost(newEntry);
- Thread.sleep(300);
+ Thread.sleep(Constants.SLEEP_INTERVAL);
System.out.println("ID: " + postedEntry.getId());