Skip to content

Commit

Permalink
Merge pull request #1109 from openstack-charmers/bug/1107/change-mani…
Browse files Browse the repository at this point in the history
…la-test-order

Change order of operations in test_manila_share()
  • Loading branch information
freyes authored Sep 4, 2023
2 parents 9891442 + 3c00b93 commit 862e3b1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions zaza/openstack/charm_tests/manila/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,16 +391,15 @@ def test_manila_share(self):
fip_1, ssh_user_name, privkey, share_path)
self._validate_testing_file_from_instance(
fip_1, ssh_user_name, privkey)
# Read the previous testing file from instance #1
self._mount_share_on_instance(
fip_2, ssh_user_name, privkey, share_path)
# Reset the test!
# Reset the test file
self._clear_testing_file_on_instance(
fip_1, ssh_user_name, privkey
)
# Write a testing file on instance #1
# (Re)write a test file on instance #1
self._write_testing_file_on_instance(
fip_1, ssh_user_name, privkey)
# Validate the testing file from instance #2
self._mount_share_on_instance(
fip_2, ssh_user_name, privkey, share_path)
self._validate_testing_file_from_instance(
fip_2, ssh_user_name, privkey)

0 comments on commit 862e3b1

Please sign in to comment.