mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
Add two smoke tests (the real deal)
This commit is contained in:
parent
612300b191
commit
62bb273dfa
26
.travis/tests/03-oned.sh
Normal file
26
.travis/tests/03-oned.sh
Normal file
@ -0,0 +1,26 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2019, OpenNebula Project, OpenNebula Systems #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
# not use this file except in compliance with the License. You may obtain #
|
||||
# a copy of the License at #
|
||||
# #
|
||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
||||
# #
|
||||
# Unless required by applicable law or agreed to in writing, software #
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, #
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
|
||||
# See the License for the specific language governing permissions and #
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
# install oned system wide
|
||||
|
||||
sudo ./install.sh
|
||||
|
||||
# start oned
|
||||
|
||||
one start
|
||||
|
||||
# check it's up
|
||||
timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 2633
|
21
.travis/tests/04-sunstone.sh
Normal file
21
.travis/tests/04-sunstone.sh
Normal file
@ -0,0 +1,21 @@
|
||||
# -------------------------------------------------------------------------- #
|
||||
# Copyright 2002-2019, OpenNebula Project, OpenNebula Systems #
|
||||
# #
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
|
||||
# not use this file except in compliance with the License. You may obtain #
|
||||
# a copy of the License at #
|
||||
# #
|
||||
# http://www.apache.org/licenses/LICENSE-2.0 #
|
||||
# #
|
||||
# Unless required by applicable law or agreed to in writing, software #
|
||||
# distributed under the License is distributed on an "AS IS" BASIS, #
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
|
||||
# See the License for the specific language governing permissions and #
|
||||
# limitations under the License. #
|
||||
#--------------------------------------------------------------------------- #
|
||||
|
||||
# start sunstone
|
||||
sunstone-server start
|
||||
|
||||
# check it's up
|
||||
timeout 60 sh -c 'until nc -z $0 $1; do sleep 1; done' localhost 9869
|
Loading…
x
Reference in New Issue
Block a user