-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve acceptance tests for route table import
Use checks that align with inline routes in the state. Improve tests to avoid network values that will conflict with fewer AWS accounts. Previously, route table import acceptance tests only checked the length of the state (1 for route table, and 1 for each separate route resource). This simple test did not check much, especially when checking route tables with inline routes. Now, the state is checked to make sure it has routes and a route- count attribute that matches to expected value.
- Loading branch information
Showing
1 changed file
with
57 additions
and
20 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