Skip to content

Commit

Permalink
fix failure test
Browse files Browse the repository at this point in the history
  • Loading branch information
明河 committed Dec 31, 2024
1 parent 48a3725 commit e730263
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@ public void testDeployed() {
arkConfigs.when(ArkConfigs::isEmbedStaticBizEnable).thenReturn(true);
ArkDeployStaticBizListener listener = new ArkDeployStaticBizListener();
listener.onApplicationEvent(new ContextRefreshedEvent(new AnnotationConfigApplicationContext()));
bootstrap.verify(Mockito.times(1), EmbedSofaArkBootstrap::deployStaticBizAfterEmbedMasterBizStarted);
// 容器刷新事件已经发送过,重复发送不会重复部署
listener.onApplicationEvent(new ContextRefreshedEvent(new AnnotationConfigApplicationContext()));
bootstrap.verify(Mockito.times(1), EmbedSofaArkBootstrap::deployStaticBizAfterEmbedMasterBizStarted);
Expand Down

0 comments on commit e730263

Please sign in to comment.