Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
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
DEMO
spring-boot
Commits
d133f228
Commit
d133f228
authored
Aug 25, 2020
by
Andy Wilkinson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increase wait times in DevToolsIntegrationTests
See gh-22909
parent
a149edcf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
AbstractDevToolsIntegrationTests.java
...boot/devtools/tests/AbstractDevToolsIntegrationTests.java
+1
-1
RemoteApplicationLauncher.java
...mework/boot/devtools/tests/RemoteApplicationLauncher.java
+2
-2
No files found.
spring-boot-project/spring-boot-devtools/src/intTest/java/org/springframework/boot/devtools/tests/AbstractDevToolsIntegrationTests.java
View file @
d133f228
...
...
@@ -65,7 +65,7 @@ abstract class AbstractDevToolsIntegrationTests {
}
protected
int
awaitServerPort
()
throws
Exception
{
int
port
=
Awaitility
.
waitAtMost
(
Duration
.
of
Seconds
(
30
))
int
port
=
Awaitility
.
waitAtMost
(
Duration
.
of
Minutes
(
3
))
.
until
(()
->
new
ApplicationState
(
this
.
serverPortFile
,
this
.
launchedApplication
),
ApplicationState:
:
hasServerPort
)
.
getServerPort
();
...
...
spring-boot-project/spring-boot-devtools/src/intTest/java/org/springframework/boot/devtools/tests/RemoteApplicationLauncher.java
View file @
d133f228
...
...
@@ -101,7 +101,7 @@ abstract class RemoteApplicationLauncher extends AbstractApplicationLauncher {
}
private
int
awaitServerPort
(
LaunchedJvm
jvm
,
File
serverPortFile
)
throws
Exception
{
return
Awaitility
.
waitAtMost
(
Duration
.
of
Seconds
(
60
))
return
Awaitility
.
waitAtMost
(
Duration
.
of
Minutes
(
3
))
.
until
(()
->
new
ApplicationState
(
serverPortFile
,
jvm
),
ApplicationState:
:
hasServerPort
)
.
getServerPort
();
}
...
...
@@ -109,7 +109,7 @@ abstract class RemoteApplicationLauncher extends AbstractApplicationLauncher {
private
void
awaitRemoteSpringApplication
(
LaunchedJvm
launchedJvm
)
throws
Exception
{
FileContents
contents
=
new
FileContents
(
launchedJvm
.
getStandardOut
());
try
{
Awaitility
.
waitAtMost
(
Duration
.
of
Seconds
(
30
)).
until
(
contents:
:
get
,
Awaitility
.
waitAtMost
(
Duration
.
of
Minutes
(
3
)).
until
(
contents:
:
get
,
containsString
(
"Started RemoteSpringApplication"
));
}
catch
(
ConditionTimeoutException
ex
)
{
...
...
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