You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@helix.apache.org by GitBox <gi...@apache.org> on 2020/10/10 05:59:39 UTC

[GitHub] [helix] kaisun2000 opened a new issue #1458: fix TestCleanupExternalView.test

kaisun2000 opened a new issue #1458:
URL: https://github.com/apache/helix/issues/1458


   LOG 2901
   >2020-10-10T05:38:01.4787071Z [ERROR] test(org.apache.helix.integration.TestCleanupExternalView)  Time elapsed: 1.462 s  <<< FAILURE!
   2020-10-10T05:38:01.4894203Z java.lang.AssertionError: external-view for TestDB0 should be removed, but was: ZnRecord=TestDB0, {BUCKET_SIZE=0, IDEAL_STATE_MODE=AUTO, NUM_PARTITIONS=2, REBALANCE_MODE=SEMI_AUTO, REBALANCE_STRATEGY=DEFAULT, REPLICAS=2, STATE_MODEL_DEF_REF=MasterSlave, STATE_MODEL_FACTORY_NAME=DEFAULT}{TestDB0_0={localhost_12918=SLAVE, localhost_12919=MASTER}, TestDB0_1={localhost_12918=MASTER, localhost_12919=SLAVE}}{}, Stat=Stat {_version=6, _creationTime=1602305095151, _modifiedTime=1602305095369, _ephemeralOwner=0} expected:<true> but was:<false>
   2020-10-10T05:38:01.4970061Z 	at org.apache.helix.integration.TestCleanupExternalView.test(TestCleanupExternalView.java:122)
   2020-10-10T05:38:01.4972687Z 
   2020-10-10T05:38:01.8976500Z [ERROR] Failures: 
   2020-10-10T05:38:01.8991408Z [ERROR]   TestCleanupExternalView.test:122 external-view for TestDB0 should be removed, but was: ZnRecord=TestDB0, {BUCKET_SIZE=0, IDEAL_STATE_MODE=AUTO, NUM_PARTITIONS=2, REBALANCE_MODE=SEMI_AUTO, REBALANCE_STRATEGY=DEFAULT, REPLICAS=2, STATE_MODEL_DEF_REF=MasterSlave, STATE_MODEL_FACTORY_NAME=DEFAULT}{TestDB0_0={localhost_12918=SLAVE, localhost_12919=MASTER}, TestDB0_1={localhost_12918=MASTER, localhost_12919=SLAVE}}{}, Stat=Stat {_version=6, _creationTime=1602305095151, _modifiedTime=1602305095369, _ephemeralOwner=0} expected:<true> but was:<false>
   2020-10-10T05:38:01.9001717Z [ERROR] Tests run: 1211, Failures: 1, Errors: 0, Skipped: 0
   2020-10-10T05:38:01.9107617Z [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.0.0-M3:test (default-test) on project helix-core: There are test failures.
   2020-10-10T05:38:01.9110958Z [ERROR] 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org


[GitHub] [helix] jiajunwang closed issue #1458: fix TestCleanupExternalView.test

Posted by GitBox <gi...@apache.org>.
jiajunwang closed issue #1458:
URL: https://github.com/apache/helix/issues/1458


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org


[GitHub] [helix] kaisun2000 commented on issue #1458: fix TestCleanupExternalView.test

Posted by GitBox <gi...@apache.org>.
kaisun2000 commented on issue #1458:
URL: https://github.com/apache/helix/issues/1458#issuecomment-706494047


   ```
      ExternalView externalView = null;
       for (int i = 0; i < 10; i++) {
         Thread.sleep(100);
         externalView = accessor.getProperty(keyBuilder.externalView("TestDB0"));
         // System.out.println("externalView: " + externalView);
         if (externalView == null) {
           break;
         }
       }
   
       Assert.assertNull(externalView, "external-view for TestDB0 should be removed, but was: "
           + externalView);  --->
   
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@helix.apache.org
For additional commands, e-mail: reviews-help@helix.apache.org