Return-Path: X-Original-To: apmail-helix-commits-archive@minotaur.apache.org Delivered-To: apmail-helix-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 16705D169 for ; Wed, 19 Dec 2012 20:21:40 +0000 (UTC) Received: (qmail 15005 invoked by uid 500); 19 Dec 2012 20:21:40 -0000 Delivered-To: apmail-helix-commits-archive@helix.apache.org Received: (qmail 14983 invoked by uid 500); 19 Dec 2012 20:21:40 -0000 Mailing-List: contact commits-help@helix.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@helix.incubator.apache.org Delivered-To: mailing list commits@helix.incubator.apache.org Received: (qmail 14974 invoked by uid 99); 19 Dec 2012 20:21:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 20:21:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2012 20:21:37 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id DDBFD2388A4A; Wed, 19 Dec 2012 20:20:39 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1424077 [12/12] - in /incubator/helix/site-content: ./ helix-admin-webapp/ helix-core/ involved/ mockservice/ recipes/ recipes/distributed-lock-manager/ recipes/rabbitmq-consumer-group/ recipes/rsync-replicated-file-system/ xref-test/org/a... Date: Wed, 19 Dec 2012 20:20:31 -0000 To: commits@helix.incubator.apache.org From: kishoreg@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20121219202039.DDBFD2388A4A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-info.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-info.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-info.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-info.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Dependency Information @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-management.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-management.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-management.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/dependency-management.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Dependency Management @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/distribution-management.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/distribution-management.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/distribution-management.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/distribution-management.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Distribution Management @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/index.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/index.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/index.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/index.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - About @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/integration.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/integration.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/integration.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/integration.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Continuous Integration @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/issue-tracking.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/issue-tracking.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/issue-tracking.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/issue-tracking.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Issue Tracking @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/license.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/license.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/license.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/license.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project License @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/mail-lists.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/mail-lists.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/mail-lists.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/mail-lists.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Mailing Lists @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/plugin-management.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/plugin-management.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/plugin-management.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/plugin-management.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Plugin Management @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/plugins.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/plugins.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/plugins.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/plugins.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Build Plugins @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/project-info.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/project-info.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/project-info.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/project-info.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Information @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/project-reports.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/project-reports.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/project-reports.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/project-reports.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Generated Reports @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/project-summary.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/project-summary.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/project-summary.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/project-summary.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Project Summary @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/sonar.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/sonar.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/sonar.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/sonar.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Sonar @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/source-repository.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/source-repository.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/source-repository.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/source-repository.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Source Repository @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync-replicated-file-system/team-list.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync-replicated-file-system/team-list.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync-replicated-file-system/team-list.html (original) +++ incubator/helix/site-content/recipes/rsync-replicated-file-system/team-list.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes :: Rsync Replicated File Store - Team list @@ -134,7 +134,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 1.1-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/rsync_replicated_file_store.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/rsync_replicated_file_store.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/rsync_replicated_file_store.html (original) +++ incubator/helix/site-content/recipes/rsync_replicated_file_store.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix - @@ -208,7 +208,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/sonar.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/sonar.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/sonar.html (original) +++ incubator/helix/site-content/recipes/sonar.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes - Sonar @@ -131,7 +131,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/source-repository.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/source-repository.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/source-repository.html (original) +++ incubator/helix/site-content/recipes/source-repository.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes - Source Repository @@ -131,7 +131,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/recipes/team-list.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/recipes/team-list.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/recipes/team-list.html (original) +++ incubator/helix/site-content/recipes/team-list.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix :: Recipes - Team list @@ -131,7 +131,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/releasing.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/releasing.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/releasing.html (original) +++ incubator/helix/site-content/releasing.html Wed Dec 19 20:20:28 2012 @@ -1,6 +1,6 @@ @@ -8,7 +8,7 @@ - + Apache Helix - Helix release process @@ -209,7 +209,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/sonar.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/sonar.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/sonar.html (original) +++ incubator/helix/site-content/sonar.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix - Sonar @@ -208,7 +208,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/source-repository.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/source-repository.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/source-repository.html (original) +++ incubator/helix/site-content/source-repository.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix - Source Repository @@ -208,7 +208,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/team-list.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/team-list.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/team-list.html (original) +++ incubator/helix/site-content/team-list.html Wed Dec 19 20:20:28 2012 @@ -1,13 +1,13 @@ - + Apache Helix - Team list @@ -208,7 +208,7 @@ -
  • Last Published: 2012-12-18
  • |
  • +
  • Last Published: 2012-12-19
  • |
  • Version: 0.6.0-incubating-SNAPSHOT
  • Modified: incubator/helix/site-content/xref-test/org/apache/helix/healthcheck/TestDummyAlerts.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/healthcheck/TestDummyAlerts.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/xref-test/org/apache/helix/healthcheck/TestDummyAlerts.html (original) +++ incubator/helix/site-content/xref-test/org/apache/helix/healthcheck/TestDummyAlerts.html Wed Dec 19 20:20:28 2012 @@ -148,23 +148,35 @@ 138 for (int i = 0; i < n; i++) 139 { 140 String instance = "localhost_" + (12918 + i); -141 ZNRecord record = -142 accessor.getProperty(keyBuilder.healthReport(instance, "mockAlerts")).getRecord(); -143 Assert.assertEquals(record.getId(), "mockAlerts4"); -144 } -145 -146 // clean up -147 Thread.sleep(1000); -148 controller.syncStop(); -149 for (int i = 0; i < 5; i++) -150 { -151 participants[i].syncStop(); -152 } -153 -154 System.out.println("END " + clusterName + " at " -155 + new Date(System.currentTimeMillis())); -156 } -157 } +141 ZNRecord record = null; +142 for(int j = 0; j < 10; j++) +143 { +144 record = +145 accessor.getProperty(keyBuilder.healthReport(instance, "mockAlerts")).getRecord(); +146 if(record.getId().equals("mockAlerts4")) +147 { +148 break; +149 } +150 else +151 { +152 Thread.sleep(500); +153 } +154 } +155 Assert.assertEquals(record.getId(), "mockAlerts4"); +156 } +157 +158 // clean up +159 Thread.sleep(1000); +160 controller.syncStop(); +161 for (int i = 0; i < 5; i++) +162 { +163 participants[i].syncStop(); +164 } +165 +166 System.out.println("END " + clusterName + " at " +167 + new Date(System.currentTimeMillis())); +168 } +169 }
    Modified: incubator/helix/site-content/xref-test/org/apache/helix/integration/ZkStandAloneCMTestBaseWithPropertyServerCheck.html URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/integration/ZkStandAloneCMTestBaseWithPropertyServerCheck.html?rev=1424077&r1=1424076&r2=1424077&view=diff ============================================================================== --- incubator/helix/site-content/xref-test/org/apache/helix/integration/ZkStandAloneCMTestBaseWithPropertyServerCheck.html (original) +++ incubator/helix/site-content/xref-test/org/apache/helix/integration/ZkStandAloneCMTestBaseWithPropertyServerCheck.html Wed Dec 19 20:20:28 2012 @@ -67,24 +67,38 @@ 57 List<StatusUpdate> statusUpdates = accessor.getChildValues( 58 kb.stateTransitionStatus(instanceName, _startCMResultMap.get(instanceName)._manager.getSessionId(), 59 TEST_DB)); -60 Assert.assertTrue(statusUpdates.size() > 0); -61 for(StatusUpdate update : statusUpdates) -62 { -63 Assert.assertTrue(update.getRecord().getSimpleField(ZkPropertyTransferClient.USE_PROPERTYTRANSFER).equals("true")); -64 Assert.assertTrue(update.getRecord().getSimpleField(ZKPropertyTransferServer.SERVER) != null); -65 } -66 } -67 } -68 } -69 -70 @AfterClass -71 public void afterClass() throws Exception -72 { -73 super.afterClass(); -74 ZKPropertyTransferServer.getInstance().shutdown(); -75 ZKPropertyTransferServer.getInstance().reset(); -76 } -77 } +60 for(int j = 0;j < 10; j++) +61 { +62 statusUpdates = accessor.getChildValues( +63 kb.stateTransitionStatus(instanceName, _startCMResultMap.get(instanceName)._manager.getSessionId(), +64 TEST_DB)); +65 if(statusUpdates.size() == 0) +66 { +67 Thread.sleep(500); +68 } +69 else +70 { +71 break; +72 } +73 } +74 Assert.assertTrue(statusUpdates.size() > 0); +75 for(StatusUpdate update : statusUpdates) +76 { +77 Assert.assertTrue(update.getRecord().getSimpleField(ZkPropertyTransferClient.USE_PROPERTYTRANSFER).equals("true")); +78 Assert.assertTrue(update.getRecord().getSimpleField(ZKPropertyTransferServer.SERVER) != null); +79 } +80 } +81 } +82 } +83 +84 @AfterClass +85 public void afterClass() throws Exception +86 { +87 super.afterClass(); +88 ZKPropertyTransferServer.getInstance().shutdown(); +89 ZKPropertyTransferServer.getInstance().reset(); +90 } +91 }