Skip to content
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.

Commit

Permalink
Add integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
naved001 committed Feb 14, 2019
1 parent feb485c commit a51d8a5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/integration/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,13 @@ def test_cli(obmd_cfg):
hil('port', 'revert', SWITCH1, PORT)
time.sleep(2)

# Test force removing the node here
hil('node', 'network', 'connect', NODE1, NIC1, 'test-net', 'null')
time.sleep(2)
hil('node', 'obm', 'enable', NODE1)
hil('project', 'node', 'remove', PROJECT1, NODE1, '--force')

# delete everything
hil('node', 'obm', 'disable', NODE1)
hil('project', 'node', 'remove', PROJECT1, NODE1)
hil('network', 'delete', 'test-net')
hil('port', 'nic', 'remove', SWITCH1, PORT)
hil('port', 'delete', SWITCH1, PORT)
Expand Down

0 comments on commit a51d8a5

Please sign in to comment.