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
f91bfe2e
Commit
f91bfe2e
authored
Jul 27, 2014
by
Clayton Coleman
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #645 from brendandburns/integration
Add a sanity check for existing etcd servers to the integration test script
parents
5d12b63b
ea15e670
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
integration-test.sh
hack/integration-test.sh
+6
-0
No files found.
hack/integration-test.sh
View file @
f91bfe2e
...
@@ -19,6 +19,12 @@ if [ "$(which etcd)" == "" ]; then
...
@@ -19,6 +19,12 @@ if [ "$(which etcd)" == "" ]; then
exit
1
exit
1
fi
fi
running_etcd
=
$(
ps
-ef
|
grep
etcd |
grep
-c
name
)
if
[
"
$running_etcd
"
!=
"0"
]
;
then
echo
"etcd appears to already be running on this machine, please kill and restart the test."
exit
1
fi
# Stop right away if the build fails
# Stop right away if the build fails
set
-e
set
-e
...
...
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