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
29adaf26
Commit
29adaf26
authored
7 years ago
by
Toshiaki Maki
Committed by
Spencer Gibb
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use verifyError (#2602)
parent
b3acc139
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HystrixCommandsTests.java
...framework/cloud/netflix/hystrix/HystrixCommandsTests.java
+3
-3
No files found.
spring-cloud-netflix-core/src/test/java/org/springframework/cloud/netflix/hystrix/HystrixCommandsTests.java
View file @
29adaf26
...
...
@@ -53,7 +53,7 @@ public class HystrixCommandsTests {
Thread
.
sleep
(
1500
);
return
"timeout"
;
})).
commandName
(
"failcmd"
).
toMono
())
.
expect
Error
(
HystrixRuntimeException
.
class
);
.
verify
Error
(
HystrixRuntimeException
.
class
);
}
@Test
...
...
@@ -97,7 +97,7 @@ public class HystrixCommandsTests {
.
expectNext
(
"1"
)
.
thenAwait
(
Duration
.
ofSeconds
(
1
))
.
thenRequest
(
1
)
.
expect
Error
();
.
verify
Error
();
}
@Test
...
...
@@ -120,7 +120,7 @@ public class HystrixCommandsTests {
throw
new
RuntimeException
(
e
);
}
})).
commandName
(
"failcmd"
).
toFlux
())
.
expect
Error
(
HystrixRuntimeException
.
class
);
.
verify
Error
(
HystrixRuntimeException
.
class
);
}
@Test
...
...
This diff is collapsed.
Click to expand it.
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