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
485034de
Commit
485034de
authored
Aug 24, 2016
by
Ryan Baxter
Committed by
GitHub
Aug 24, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1294 from ryanjbaxter/upgrade-hystrix-1.5.5-1289
Upgrade Hystrix to 1.5.5
parents
1b9d91dc
93161247
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
HystrixStreamEndpointTests.java
...ork/cloud/netflix/hystrix/HystrixStreamEndpointTests.java
+7
-8
pom.xml
spring-cloud-netflix-dependencies/pom.xml
+1
-1
No files found.
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/hystrix/HystrixStreamEndpointTests.java
View file @
485034de
...
...
@@ -16,12 +16,7 @@
package
org
.
springframework
.
cloud
.
netflix
.
hystrix
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
java.io.InputStream
;
import
java.net.URL
;
import
com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -40,7 +35,11 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand
;
import
java.io.InputStream
;
import
java.net.URL
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
/**
* @author Dave Syer
...
...
@@ -74,7 +73,7 @@ public class HystrixStreamEndpointTests {
byte
[]
buffer
=
new
byte
[
1024
];
in
.
read
(
buffer
);
String
contents
=
new
String
(
buffer
);
assertTrue
(
contents
.
contains
(
"
ping
"
));
assertTrue
(
contents
.
contains
(
"
Hystrix
"
));
in
.
close
();
}
...
...
spring-cloud-netflix-dependencies/pom.xml
View file @
485034de
...
...
@@ -20,7 +20,7 @@
<archaius.version>
0.7.4
</archaius.version>
<eureka.version>
1.4.10
</eureka.version>
<feign.version>
9.3.0
</feign.version>
<hystrix.version>
1.5.
3
</hystrix.version>
<hystrix.version>
1.5.
5
</hystrix.version>
<ribbon.version>
2.2.0
</ribbon.version>
<servo.version>
0.10.1
</servo.version>
<zuul.version>
1.2.2
</zuul.version>
...
...
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