Skip to content

Commit

Permalink
Merge pull request #2262 from casionone/dev-1.1.2-fixtest
Browse files Browse the repository at this point in the history
[Bug-2263]Disable eureka discovery client for module test
  • Loading branch information
seayi committed Jun 10, 2022
2 parents 1a3a1ee + bfd913f commit 4830ad8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@
import org.apache.linkis.cli.core.exception.error.CommonErrMsg;
import org.apache.linkis.cli.core.interactor.command.TestCmdType;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertDoesNotThrow;

public class CommandExceptionHandlerTest {
ExceptionHandler handler = new CommandExceptionHandler();

// todo
@Disabled
@Test
public void handle() throws Exception {
CommandException cmdException =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ spring.main.web-application-type=servlet
server.port=1234
spring.h2.console.enabled=true


#disable eureka discovery client
spring.cloud.service-registry.auto-registration.enabled=false
eureka.client.enabled=false
eureka.client.serviceUrl.registerWithEureka=false

mybatis-plus.mapper-locations=classpath:org/apache/linkis/configuration/dao/impl/*.xml
mybatis-plus.type-aliases-package=org.apache.linkis.configuration.entity
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ spring.main.web-application-type=servlet
server.port=1234
spring.h2.console.enabled=true

#disable eureka discovery client
spring.cloud.service-registry.auto-registration.enabled=false
eureka.client.enabled=false
eureka.client.serviceUrl.registerWithEureka=false

mybatis-plus.mapper-locations=classpath:org/apache/linkis/variable/dao/impl/*.xml
mybatis-plus.type-aliases-package=org.apache.linkis.configuration.entity
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl

0 comments on commit 4830ad8

Please sign in to comment.