Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-cloud-netflix
Commits
10fc74c0
Unverified
Commit
10fc74c0
authored
Sep 26, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix or ignore tests
parent
c9e7d81e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
ApplicationContextTests.java
.../cloud/netflix/eureka/server/ApplicationContextTests.java
+1
-1
ApplicationServletPathTests.java
...ud/netflix/eureka/server/ApplicationServletPathTests.java
+1
-1
ApplicationTests.java
...amework/cloud/netflix/eureka/server/ApplicationTests.java
+1
-1
No files found.
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationContextTests.java
View file @
10fc74c0
...
@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue;
...
@@ -44,7 +44,7 @@ import static org.junit.Assert.assertTrue;
@RunWith
(
SpringRunner
.
class
)
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
,
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
,
properties
=
{
"spring.application.name=eureka"
,
"server.servlet.context-path=/context"
,
properties
=
{
"spring.application.name=eureka"
,
"server.servlet.context-path=/context"
,
"management.security.enabled=false"
})
"management.security.enabled=false"
,
"endpoints.default.web.enabled=true"
})
public
class
ApplicationContextTests
{
public
class
ApplicationContextTests
{
@LocalServerPort
@LocalServerPort
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationServletPathTests.java
View file @
10fc74c0
...
@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
...
@@ -43,7 +43,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith
(
SpringRunner
.
class
)
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
"spring.application.name=eureka"
,
"server.servlet.path=/servlet"
,
"spring.application.name=eureka"
,
"server.servlet.path=/servlet"
,
"management.security.enabled=false"
})
"management.security.enabled=false"
,
"endpoints.default.web.enabled=true"
})
public
class
ApplicationServletPathTests
{
public
class
ApplicationServletPathTests
{
@LocalServerPort
@LocalServerPort
...
...
spring-cloud-netflix-eureka-server/src/test/java/org/springframework/cloud/netflix/eureka/server/ApplicationTests.java
View file @
10fc74c0
...
@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
...
@@ -52,7 +52,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
@RunWith
(
SpringRunner
.
class
)
@RunWith
(
SpringRunner
.
class
)
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
@SpringBootTest
(
classes
=
Application
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
"spring.jmx.enabled=true"
,
"management.security.enabled=false"
})
"spring.jmx.enabled=true"
,
"management.security.enabled=false"
,
"endpoints.default.web.enabled=true"
})
public
class
ApplicationTests
{
public
class
ApplicationTests
{
@LocalServerPort
@LocalServerPort
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment