add a test to make sure we don't error becaue of spot price auto product, yet

This commit is contained in:
Megan Marsh 2019-06-28 16:34:38 -07:00
parent c979cad579
commit a60f7e395e
1 changed files with 6 additions and 0 deletions

View File

@ -129,6 +129,12 @@ func TestRunConfigPrepare_SpotAuto(t *testing.T) {
if err := c.Prepare(nil); len(err) != 0 {
t.Fatalf("err: %s", err)
}
// Shouldn't error (YET) even though SpotPriceAutoProduct is deprecated
c.SpotPriceAutoProduct = "Linux/Unix"
if err := c.Prepare(nil); len(err) != 0 {
t.Fatalf("err: %s", err)
}
}
func TestRunConfigPrepare_SSHPort(t *testing.T) {