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
9257b58e
Commit
9257b58e
authored
Feb 11, 2015
by
Zach Loafman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix e2e-internal scripts for cluster-size and watch-events
Fixes #4340
parent
6c15604c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
e2e-cluster-size.sh
hack/e2e-internal/e2e-cluster-size.sh
+1
-3
e2e-watch-events.sh
hack/e2e-internal/e2e-watch-events.sh
+3
-1
e2e.go
hack/e2e.go
+1
-1
No files found.
hack/e2e-internal/e2e-cluster-size.sh
View file @
9257b58e
...
...
@@ -31,6 +31,4 @@ source "${KUBE_VERSION_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
prepare-e2e
while
true
;
do
${
KUBECTL
}
--watch-only
get events
done
${
KUBECTL
}
get minions
--no-headers
|
wc
-l
hack/e2e-internal/e2e-watch-events.sh
View file @
9257b58e
...
...
@@ -31,4 +31,6 @@ source "${KUBE_VERSION_ROOT}/cluster/${KUBERNETES_PROVIDER}/util.sh"
prepare-e2e
${
KUBECTL
}
get minions
--no-headers
|
wc
-l
while
true
;
do
${
KUBECTL
}
--watch-only
get events
done
hack/e2e.go
View file @
9257b58e
...
...
@@ -184,7 +184,7 @@ func Up() bool {
// Ensure that the cluster is large engough to run the e2e tests.
func
ValidateClusterSize
()
{
// Check that there are at least 3 minions running
res
,
stdout
,
_
:=
finishRunningWithOutputs
(
"validate cluster size"
,
exec
.
Command
(
path
.
Join
(
*
root
,
"hack/e2e-internal/e2e-
watch-events
.sh"
)))
res
,
stdout
,
_
:=
finishRunningWithOutputs
(
"validate cluster size"
,
exec
.
Command
(
path
.
Join
(
*
root
,
"hack/e2e-internal/e2e-
cluster-size
.sh"
)))
if
!
res
{
log
.
Fatal
(
"Could not get nodes to validate cluster size"
)
}
...
...
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