-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework GCP labels tests to match TF (#2305)
The labels tests were asserting on behaviour different to what TF does. The previous assumption was that "" in labels means keep old value but that turns out is not quite correct. Generally, "" is treated as "keep the previous value". However, if the value has always been "", then it is treated as "no value". This trumps any default labels. This PR reworks the labels tests check to assert on the correct behaviour, matching TF. Stacked on #2277 Part of #2280
- Loading branch information
1 parent
9248786
commit abcc453
Showing
1 changed file
with
116 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters