Fix slow unit tests.

This commit is contained in:
Christopher Boumenot 2016-07-06 11:06:52 -07:00
parent d170d5952b
commit 16c1abf1d4
1 changed files with 2 additions and 0 deletions

View File

@ -371,6 +371,7 @@ func TestConfigShouldRejectMalformedCaptureNamePrefix(t *testing.T) {
"storage_account": "ignore", "storage_account": "ignore",
"resource_group_name": "ignore", "resource_group_name": "ignore",
"subscription_id": "ignore", "subscription_id": "ignore",
"communicator": "none",
// Does not matter for this test case, just pick one. // Does not matter for this test case, just pick one.
"os_type": constants.Target_Linux, "os_type": constants.Target_Linux,
} }
@ -421,6 +422,7 @@ func TestConfigShouldRejectMalformedCaptureContainerName(t *testing.T) {
"storage_account": "ignore", "storage_account": "ignore",
"resource_group_name": "ignore", "resource_group_name": "ignore",
"subscription_id": "ignore", "subscription_id": "ignore",
"communicator": "none",
// Does not matter for this test case, just pick one. // Does not matter for this test case, just pick one.
"os_type": constants.Target_Linux, "os_type": constants.Target_Linux,
} }