diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 22:00:26 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2009-09-01 22:00:26 +0000 |
commit | 660cf026292d0b31bf873d796300a48dee7cc6a4 (patch) | |
tree | ebbfe11ed5296b243015bedf4fba7ec8afcb1e0e /branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java | |
parent | eee35580521b2b354a81d31bd96500f659323839 (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/GoogleContactsServiceTestCase.java')
-rw-r--r-- | branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java b/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java index 25b0ef37da..510ce3c0a8 100644 --- a/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java +++ b/branches/sca-java-1.5.1/modules/binding-gdata-runtime/src/test/java/org/apache/tuscany/sca/binding/gdata/GoogleContactsServiceTestCase.java @@ -35,7 +35,7 @@ import com.google.gdata.data.Entry; import com.google.gdata.data.Feed; import com.google.gdata.data.PlainTextConstruct; -public class GoogleContactsServiceTestCase extends TestCase{ +public class GoogleContactsServiceTestCase extends TestCase { private SCADomain scaDomainConsumer = null; private CustomerClient testService = null; @@ -84,7 +84,7 @@ public class GoogleContactsServiceTestCase extends TestCase{ String entryID = "12feeeb38ab87365"; 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()); } @@ -115,7 +115,7 @@ public class GoogleContactsServiceTestCase extends TestCase{ newEntry.setTitle(new PlainTextConstruct("contactEntryShouldNotApear")); newEntry.setContent(new PlainTextConstruct("contactByBloggerShouldNotAppear")); Entry postedEntry = testService.clientPost(newEntry); - Thread.sleep(300); + Thread.sleep(Constants.SLEEP_INTERVAL); System.out.println("ID: " + postedEntry.getId()); |