Skip to content

Commit

Permalink
Release 1.3.0 (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
HzjNeverStop authored Dec 25, 2020
1 parent f67eeea commit e3cfbb6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>com.alipay.sofa.common</groupId>
<artifactId>sofa-common-tools</artifactId>
<version>1.3.0-SNAPSHOT</version>
<version>1.3.0</version>
<packaging>jar</packaging>

<name>${project.groupId}:${project.artifactId}</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ public void testConstructWithoutSpaceNameAndThreadFactoryAndRejectedExecutionHan
SofaScheduledThreadPoolExecutor threadPoolExecutor = new SofaScheduledThreadPoolExecutor(
10, "testThreadPool");
Assert.assertEquals(10, threadPoolExecutor.getCorePoolSize());
Assert.assertEquals(NamedThreadFactory.class, threadPoolExecutor.getThreadFactory().getClass());
Assert.assertEquals(NamedThreadFactory.class, threadPoolExecutor.getThreadFactory()
.getClass());
Assert.assertEquals(defaultRejectedExecutionHandler,
threadPoolExecutor.getRejectedExecutionHandler());
Assert.assertEquals("testThreadPool", threadPoolExecutor.getConfig().getThreadPoolName());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,8 @@ public void testConstructWithoutSpaceNameAndThreadFactoryAndRejectedExecutionHan
Assert.assertEquals(50, threadPoolExecutor.getMaximumPoolSize());
Assert.assertEquals(60, threadPoolExecutor.getKeepAliveTime(TimeUnit.SECONDS));
Assert.assertEquals(queue, threadPoolExecutor.getQueue());
Assert.assertEquals(NamedThreadFactory.class, threadPoolExecutor.getThreadFactory().getClass());
Assert.assertEquals(NamedThreadFactory.class, threadPoolExecutor.getThreadFactory()
.getClass());
Assert.assertEquals(defaultRejectedExecutionHandler,
threadPoolExecutor.getRejectedExecutionHandler());
Assert.assertEquals("testThreadPool", threadPoolExecutor.getConfig().getThreadPoolName());
Expand Down

0 comments on commit e3cfbb6

Please sign in to comment.