Skip to content

Commit

Permalink
Revert "Sermant代码仓安全排查"
Browse files Browse the repository at this point in the history
  • Loading branch information
luanwenfei-venus authored Aug 12, 2023
1 parent 2563373 commit 04d409b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/scenarios/backend/redis/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ runs:
env:
DATABASE_TYPE: REDIS
DATABASE_VERSION: "6.0"
DATABASE_PASSWORD: ""
DATABASE_PASSWORD: "123456"
run: |
nohup java -jar sermant-agent-${{ env.sermantVersion }}/server/sermant/sermant-backend-${{ env.sermantVersion }}.jar &
- name: start demo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public void setUp() {
public void testSpringEnvironmentInfoInterceptor() throws Exception {
ExecuteContext context = ExecuteContext.forMemberMethod(new Object(), null, arguments, null, null);
final ConfigurableEnvironment environment = Mockito.mock(ConfigurableEnvironment.class);
Mockito.when(environment.getProperty("server.address")).thenReturn("127.0.0.1");
Mockito.when(environment.getProperty("server.address")).thenReturn("192.168.0.157");
Mockito.when(environment.getProperty("server.port")).thenReturn("8010");
Mockito.when(environment.getProperty("spring.application.name")).thenReturn("zookeeper-provider-demo");
ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext();
Expand Down

0 comments on commit 04d409b

Please sign in to comment.