Skip to content

Commit

Permalink
Update config/seata-config-core/src/test/java/org/apache/seata/config…
Browse files Browse the repository at this point in the history
…/FileConfigurationTest.java
  • Loading branch information
funky-eyes authored Apr 15, 2024
1 parent e91db63 commit ddeb7a1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ void addConfigListener() throws InterruptedException {
countDownLatch.countDown();
});
System.setProperty(dataId, String.valueOf(!value));
countDownLatch.await();
countDownLatch.await(60, TimeUnit.SECONDS);
logger.info("dataId: {}, oldValue: {}", dataId, value);
logger.info("dataId: {}, currenValue: {}", dataId, fileConfig.getBoolean(dataId));
Assertions.assertNotEquals(fileConfig.getBoolean(dataId), value);
Expand Down

0 comments on commit ddeb7a1

Please sign in to comment.