apache / apache/cloudstack

cleanup test resources

Open
#3,693 13 comments 0 reactions 1 assignee Claimed by @DaanHoogland View on GitHub
component:integration-test status:work-in-progress type:cleanup type:technical-debt
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

This is to clean-up tests that create resources and do not clean-up after themselves. The idea is that the entire test-suite should be able to be run in a production environment without harming or messing up. In smoke tests running in Trillian we found the following tests to leave stuff around (the checks fixed in scope of this pr are just for simulator):

- [X] test_accounts #3657 #4473
- [x] test_affinity_groups_projects #4473
- [x] test_async_job #4473
- [ ] test_deploy_vm_iso
- [x] test_deploy_vms_with_varied_deploymentplanners #4289
- [ ] test_deploy_vm_with_userdata
- [x] test_diagnostics #4289
- [ ] test_domain_service_offerings
- [x] test_internal_lb #4727
- [ ] test_list_ids_parameter
- [ ] test_loadbalance
- [ ] test_metrics_api
- [ ] test_multipleips_per_nic
- [ ] test_nested_virtualization
- [ ] test_network_acl
- [ ] test_network
- [ ] test_nic_adapter_type
- [ ] test_password_server
- [ ] test_portforwardingrules
- [ ] test_privategw_acl
- [x] test_projects #3657
- [ ] test_reset_vm_on_reboot
- [ ] test_resource_accounting
- [ ] test_router_dhcphosts #5562
- [ ] test_router_dns
- [ ] test_router_dnsservice
- [ ] test_routers_iptables_default_policy
- [ ] test_routers_network_ops
- [x] test_routers #4289
- [ ] test_service_offerings
- [ ] test_snapshots
- [ ] test_templates
- [x] test_vm_deployment_planner #7183 - some work might be remaining due to the way VMs are created in this test-suite
- [ ] test_vpc_redundant
- [ ] test_vpc_router_nics
- [x] test_vpc_vpn #4289
- [ ] test_hostha_kvm #8196 - disabling and enabling host HA, not sure if this should be a smoke test!?

##### ISSUE TYPE

* Bug Report
* Other: test improvements

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.