Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos
Commits
b5231b27
Commit
b5231b27
authored
Aug 04, 2023
by
Xavier Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/end-to-end-testing: WIP KVM test
parent
3129a2aa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
software/end-to-end-testing/buildout.hash.cfg
software/end-to-end-testing/buildout.hash.cfg
+1
-1
software/end-to-end-testing/test_kvm.py
software/end-to-end-testing/test_kvm.py
+3
-3
No files found.
software/end-to-end-testing/buildout.hash.cfg
View file @
b5231b27
...
...
@@ -8,4 +8,4 @@ md5sum = c074373dbb4154aa924ef5781dade7a0
[test_kvm.py]
filename = test_kvm.py
md5sum =
b6773d5ed283f94d20f38c34b47976da
md5sum =
cbaa8e36097f36caf1a377fa71341a09
software/end-to-end-testing/test_kvm.py
View file @
b5231b27
...
...
@@ -24,7 +24,7 @@ class EndToEndTestCase(unittest.TestCase):
@
classmethod
def
tearDownClass
(
cls
):
for
args
,
kw
in
cls
.
_requested
.
values
():
kw
[
'state'
]
=
'
stopp
ed'
kw
[
'state'
]
=
'
destroy
ed'
cls
.
_request
(
*
args
,
**
kw
)
@
classmethod
...
...
@@ -98,8 +98,8 @@ class EndToEndTestCase(unittest.TestCase):
class
KvmTest
(
EndToEndTestCase
):
def
test
(
self
):
#
instance_name = time.strftime('e2e-test-kvm-%Y-%B-%d-%H:%M:%S')
instance_name
=
'e2e-kvm-test'
# avoid timestamp to reuse instance
instance_name
=
time
.
strftime
(
'e2e-test-kvm-%Y-%B-%d-%H:%M:%S'
)
#
instance_name = 'e2e-kvm-test' # avoid timestamp to reuse instance
self
.
request
(
self
.
product
.
kvm
,
instance_name
)
self
.
waitUntilGreen
(
instance_name
)
connection_dict
=
self
.
request
(
self
.
product
.
kvm
,
instance_name
)
...
...
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