apache / apache/cloudstack

cleanup test resources

Ouverte
#3,693 13 commentaires 0 réactions 1 personne assignée Réclamée par @DaanHoogland Voir sur GitHub
component:integration-test status:work-in-progress type:cleanup type:technical-debt
Langage dominant
Java
Étoiles
3.1k
Forks
1.4k
Merge moyen
6 j 19 h
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.