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
103bd647
Unverified
Commit
103bd647
authored
Oct 27, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to fix tests
parent
5cc94532
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
FormZuulServletProxyApplicationTests.java
...ud/netflix/zuul/FormZuulServletProxyApplicationTests.java
+1
-1
SimpleZuulServerApplicationTests.java
.../cloud/netflix/zuul/SimpleZuulServerApplicationTests.java
+3
-1
No files found.
spring-cloud-netflix-zuul/src/test/java/org/springframework/cloud/netflix/zuul/FormZuulServletProxyApplicationTests.java
View file @
103bd647
...
...
@@ -69,7 +69,7 @@ import static org.springframework.cloud.netflix.zuul.filters.support.FilterConst
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
(
classes
=
FormZuulServletProxyApplication
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
{
"zuul.routes
.simplefzspat:/simplefzspat/**"
,
"logging.level.org.springframework.cloud.netflix.zuul: DEBUG
"
})
properties
=
{
"zuul.routes
[simplefzspat].path:/simplefzspat/**"
,
"zuul.routes[simplefzspat].serviceId:simplefzspat
"
})
@DirtiesContext
public
class
FormZuulServletProxyApplicationTests
{
...
...
spring-cloud-netflix-zuul/src/test/java/org/springframework/cloud/netflix/zuul/SimpleZuulServerApplicationTests.java
View file @
103bd647
...
...
@@ -46,10 +46,12 @@ import org.springframework.web.bind.annotation.RestController;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertNotNull
;
import
static
org
.
springframework
.
boot
.
test
.
context
.
SpringBootTest
.
WebEnvironment
.
RANDOM_PORT
;
import
static
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
support
.
FilterConstants
.
PRE_TYPE
;
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
(
classes
=
SimpleZuulServerApplication
.
class
,
webEnvironment
=
WebEnvironment
.
RANDOM_PORT
)
@SpringBootTest
(
classes
=
SimpleZuulServerApplication
.
class
,
webEnvironment
=
RANDOM_PORT
,
properties
=
"zuul.routes[testclient]:/testing123/**"
)
@DirtiesContext
public
class
SimpleZuulServerApplicationTests
{
...
...
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