add a test to make sure we don't error becaue of spot price auto product, yet
This commit is contained in:
parent
c979cad579
commit
a60f7e395e
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue