Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Nomad
Commits
94cd86f3
Commit
94cd86f3
authored
6 years ago
by
Lang Martin
Browse files
Options
Download
Email Patches
Plain Diff
drainer watch_nodes_test batch of 1
parent
64fd8b3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
nomad/drainer/watch_nodes_test.go
+1
-1
nomad/drainer/watch_nodes_test.go
with
1 addition
and
1 deletion
+1
-1
nomad/drainer/watch_nodes_test.go
+
1
-
1
View file @
94cd86f3
...
@@ -126,7 +126,7 @@ func TestNodeDrainWatcher_Remove_Nonexistent(t *testing.T) {
...
@@ -126,7 +126,7 @@ func TestNodeDrainWatcher_Remove_Nonexistent(t *testing.T) {
require
.
Equal
(
n
,
tracked
[
n
.
ID
])
require
.
Equal
(
n
,
tracked
[
n
.
ID
])
// Delete the node
// Delete the node
require
.
Nil
(
state
.
DeleteNode
(
101
,
n
.
ID
))
require
.
Nil
(
state
.
DeleteNode
(
101
,
[]
string
{
n
.
ID
}
))
testutil
.
WaitForResult
(
func
()
(
bool
,
error
)
{
testutil
.
WaitForResult
(
func
()
(
bool
,
error
)
{
return
len
(
m
.
events
())
==
2
,
nil
return
len
(
m
.
events
())
==
2
,
nil
},
func
(
err
error
)
{
},
func
(
err
error
)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help