kitchen-openstack icon indicating copy to clipboard operation
kitchen-openstack copied to clipboard

use config by value instead of reference

Open Gorton218 opened this issue 5 years ago • 5 comments

If block_device_mapping is using sequental kitchen test cases execution will fail Reason: during first run config is changing in get_bdm function because it is accessing by reference. So second test case will try to use volume from a first test case instead of creating a new volume. And it even will use those volume in case delete_on_termination is set to false

Gorton218 avatar Jul 29 '20 13:07 Gorton218

@Gorton218 can you please rebase to master? That should fix the linting errors on the tests.

ramereth avatar Jul 29 '20 17:07 ramereth

@Gorton218 can you please rebase to master? That should fix the linting errors on the tests.

done

Gorton218 avatar Jul 29 '20 19:07 Gorton218

@Gorton218 Can you please provide an example kitchen.yml which replicates this issue? I'd like to try and test it on my end to ensure this works properly.

ramereth avatar Jul 30 '20 16:07 ramereth

@Gorton218 ping

ramereth avatar Aug 04 '20 17:08 ramereth

Sorry, currently on vacation without laptop

On Tue, Aug 4, 2020, 20:20 Lance Albertson [email protected] wrote:

@Gorton218 https://github.com/Gorton218 ping

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/test-kitchen/kitchen-openstack/pull/208#issuecomment-668722894, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNMGIQHJAJDN645VLOVJPLR7A7N3ANCNFSM4PLT4PXQ .

Gorton218 avatar Aug 21 '20 10:08 Gorton218