Skip to content

Commit

Permalink
Prepare to release v5.3.0. (sofastack#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
ujjboy authored Apr 13, 2018
1 parent 7c3dafa commit beb0ca3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ public final class Version {
/**
* 当前Build版本,每次发布修改
*/
public static final String BUILD_VERSION = "5.3.0_20180112151111";
public static final String BUILD_VERSION = "5.3.0_20180413110000";
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public void testSubscribe() throws Exception {
consumerConfig3.refer();
long end = System.currentTimeMillis();
System.out.println("elapsed time " + (end - start) + "ms");
Assert.assertTrue((end - start) > 2000 && (end - start) < 3000);
Assert.assertTrue((end - start) > 2000 && (end - start) < 4000);
Assert.assertTrue(consumerConfig3.getConsumerBootstrap().isSubscribed());
Assert.assertTrue(consumerConfig3.getConsumerBootstrap().getCluster()
.getAddressHolder().getAllProviderSize() == 0);
Expand Down Expand Up @@ -162,7 +162,7 @@ public void testSubscribe() throws Exception {
consumerConfig1.refer();
end = System.currentTimeMillis();
System.out.println("elapsed time " + (end - start) + "ms");
Assert.assertTrue((end - start) > 2000 && (end - start) < 3000);
Assert.assertTrue((end - start) > 2000 && (end - start) < 4000);
Assert.assertTrue(consumerConfig1.getConsumerBootstrap().isSubscribed());
Assert.assertTrue(consumerConfig1.getConsumerBootstrap().getCluster()
.getAddressHolder().getAllProviderSize() > 0);
Expand All @@ -179,7 +179,7 @@ public void testSubscribe() throws Exception {
consumerConfig2.refer();
end = System.currentTimeMillis();
System.out.println("elapsed time " + (end - start) + "ms");
Assert.assertTrue((end - start) > 1000 && (end - start) < 2000);
Assert.assertTrue((end - start) > 1000 && (end - start) < 3000);
Assert.assertFalse(consumerConfig2.getConsumerBootstrap().isSubscribed());

try {
Expand Down

0 comments on commit beb0ca3

Please sign in to comment.