Commit Graph

7 Commits

Author SHA1 Message Date
The Magician
6cb21b34b0 Various CI test fixes (#3018)
<!-- This change is generated by MagicModules. -->
/cc @rileykarson
2019-02-08 12:05:39 -08:00
The Magician
7e829e0b10 Fix the test check in rigm datasource. (#2757) 2018-12-27 13:33:05 -08:00
The Magician
5492b0100e Remove auto_healing_policies from tests (#2557)
<!-- This change is generated by MagicModules. -->
/cc @danawillow
2018-12-20 17:22:22 -08:00
Riley Karson
548f3685b1
Reduce rig datasource test target size to 1. (#2064)
So, every time this test fails we are leaving behind 10 CPUs. This is a big cause of our quota problem because we are at 70!! right now. We still need to fix the test but let's also reduce this count to 1 so we leave 1/10th of the zombie instances.

Changing from a new to legacy health check also did not work so I have no clue what the issue is here. Observing the instances, they are shown as being stuck in "Instance is being verified" state for up to days.
2018-09-17 10:03:43 -07:00
Dana Hoffman
9d02137703
change delay in region instance group data source test (#2047)
We had a failure in the last CI run while waiting for this resource to be created, so let's increase the timeout.

```
------- Stdout: -------
=== RUN   TestAccDataSourceRegionInstanceGroup
--- FAIL: TestAccDataSourceRegionInstanceGroup (631.53s)
	testing.go:518: Step 0 error: Error applying: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: timeout while waiting for state to become 'created' (last state: 'creating', timeout: 5m0s)
	testing.go:579: Error destroying resource! WARNING: Dangling resources
		may exist. The full state and error is shown below.
		
		Error: Error refreshing: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: 1 error(s) occurred:
		
		* google_compute_region_instance_group_manager.foo: google_compute_region_instance_group_manager.foo: timeout while waiting for state to become 'created' (last state: 'creating', timeout: 5m0s)
		
		State: 
FAIL
```
2018-09-14 13:36:58 -07:00
Paddy Carver
aefef54ab0 Fix our calls to d.Set that returned errors.
We had several calls to `d.Set` that returned errors we weren't
catching, that turning on the panic flag for the tests caught. This PR
addresses them, and fixes the one test that was not safe to run in
parallel because it relied on a hardcoded name being unique.

This is largely just removing calls to `d.Set` for fields that don't
exist in the Schema, fixing how Sets get set, correcting typos, and
converting types.
2018-03-19 09:47:33 -07:00
Vincent Roseberry
502456a35d
Rename filename to match resource (#882)
* Rename filename to match resource

* Rename tests method
2017-12-20 10:48:43 -08:00