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
70b0c063
Unverified
Commit
70b0c063
authored
Oct 27, 2017
by
Spencer Gibb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix zuul tests
parent
bd7d8c94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
0 deletions
+93
-0
FiltersEndpointTests.java
...ingframework/cloud/netflix/zuul/FiltersEndpointTests.java
+2
-0
AdhocZuulTestSuite.java
...framework/cloud/netflix/zuul/test/AdhocZuulTestSuite.java
+91
-0
No files found.
spring-cloud-netflix-zuul/src/test/java/org/springframework/cloud/netflix/zuul/FiltersEndpointTests.java
View file @
70b0c063
...
...
@@ -26,6 +26,7 @@ import org.springframework.boot.SpringBootConfiguration;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.context.annotation.Bean
;
import
org.springframework.test.annotation.DirtiesContext
;
import
org.springframework.test.context.junit4.SpringJUnit4ClassRunner
;
import
com.netflix.zuul.ZuulFilter
;
...
...
@@ -39,6 +40,7 @@ import static org.springframework.boot.test.context.SpringBootTest.WebEnvironmen
*/
@RunWith
(
SpringJUnit4ClassRunner
.
class
)
@SpringBootTest
(
webEnvironment
=
RANDOM_PORT
)
@DirtiesContext
public
class
FiltersEndpointTests
{
@Autowired
...
...
spring-cloud-netflix-zuul/src/test/java/org/springframework/cloud/netflix/zuul/test/AdhocZuulTestSuite.java
0 → 100644
View file @
70b0c063
/*
* Copyright 2013-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package
org
.
springframework
.
cloud
.
netflix
.
zuul
.
test
;
import
org.junit.Ignore
;
import
org.junit.runner.RunWith
;
import
org.junit.runners.Suite
;
import
org.junit.runners.Suite.SuiteClasses
;
/**
* A test suite for probing weird ordering problems in the tests.
*
* @author Dave Syer
*/
@RunWith
(
Suite
.
class
)
@SuiteClasses
({
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ContextPathZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
CompositeRouteLocatorTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
CustomHostRoutingFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
discovery
.
DiscoveryClientRouteLocatorTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
discovery
.
PatternServiceRouteMapperIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
discovery
.
PatternServiceRouteMapperTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
post
.
LocationRewriteFilterIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
post
.
LocationRewriteFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
post
.
SendErrorFilterIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
post
.
SendErrorFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
post
.
SendResponseFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
pre
.
FormBodyWrapperFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
pre
.
PreDecorationFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
ProxyRequestHelperTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
apache
.
HttpClientRibbonCommandFactoryTest
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
apache
.
HttpClientRibbonCommandFallbackTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
apache
.
HttpClientRibbonCommandIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
apache
.
HttpClientRibbonRetryIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
EagerLoadOfZuulConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
LazyLoadOfZuulConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
okhttp
.
OkHttpRibbonCommandFactoryTest
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
okhttp
.
OkHttpRibbonCommandFallbackTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
okhttp
.
OkHttpRibbonCommandIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
okhttp
.
OkHttpRibbonRetryIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
restclient
.
RestClientRibbonCommandFallbackTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
restclient
.
RestClientRibbonCommandIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
RestClientRibbonCommandTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
RibbonRoutingFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
SendForwardFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
SimpleHostRoutingFilterTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
support
.
RibbonCommandCauseFallbackPropagationTest
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
route
.
support
.
RibbonCommandHystrixThreadPoolKeyTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
SimpleRouteLocatorTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
filters
.
ZuulPropertiesTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
FiltersEndpointTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
FormZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
FormZuulServletProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
metrics
.
DefaultCounterFactoryTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
metrics
.
ZuulEmptyMetricsApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
metrics
.
ZuulMetricsApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
RetryableZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
RoutesEndpointDetailsTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
RoutesEndpointIntegrationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
RoutesEndpointTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ServletPathZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
SimpleZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
SimpleZuulServerApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
test
.
ZuulApacheHttpClientConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
test
.
ZuulOkHttpClientConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
web
.
ZuulHandlerMappingTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ZuulFilterInitializerTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ZuulProxyApplicationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ZuulProxyAutoConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ZuulProxyConfigurationTests
.
class
,
org
.
springframework
.
cloud
.
netflix
.
zuul
.
ZuulServerAutoConfigurationTests
.
class
,
})
@Ignore
public
class
AdhocZuulTestSuite
{
}
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