Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
bcc154d7
Commit
bcc154d7
authored
Oct 05, 2015
by
Alex Robinson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15037 from quinton-hoole/2015-10-02-port-node-resize-e2e-to-framework
Port Node Resize e2e tests to e2e Framework
parents
6a3d383b
f303ad6f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
16 deletions
+5
-16
resize_nodes.go
test/e2e/resize_nodes.go
+5
-16
No files found.
test/e2e/resize_nodes.go
View file @
bcc154d7
...
...
@@ -384,28 +384,17 @@ func performTemporaryNetworkFailure(c *client.Client, ns, rcName string, replica
}
var
_
=
Describe
(
"Nodes"
,
func
()
{
framework
:=
Framework
{
BaseName
:
"resize-nodes"
}
var
c
*
client
.
Client
var
ns
string
BeforeEach
(
func
()
{
var
err
error
c
,
err
=
loadClient
()
expectNoError
(
err
)
testingNs
,
err
:=
createTestingNS
(
"resize-nodes"
,
c
)
ns
=
testingNs
.
Name
Expect
(
err
)
.
NotTo
(
HaveOccurred
())
framework
.
beforeEach
()
c
=
framework
.
Client
ns
=
framework
.
Namespace
.
Name
})
AfterEach
(
func
()
{
By
(
"checking whether all nodes are healthy"
)
if
err
:=
allNodesReady
(
c
,
time
.
Minute
);
err
!=
nil
{
Failf
(
"Not all nodes are ready: %v"
,
err
)
}
By
(
fmt
.
Sprintf
(
"destroying namespace for this suite %s"
,
ns
))
if
err
:=
deleteNS
(
c
,
ns
,
5
*
time
.
Minute
/* namespace deletion timeout */
);
err
!=
nil
{
Failf
(
"Couldn't delete namespace '%s', %v"
,
ns
,
err
)
}
})
AfterEach
(
framework
.
afterEach
)
Describe
(
"Resize"
,
func
()
{
var
skipped
bool
...
...
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