2017-10-25 17:51:54 -04:00
|
|
|
package testing
|
|
|
|
|
|
|
|
import "testing"
|
|
|
|
|
|
|
|
func TestResourcePoolAcc(t *testing.T) {
|
|
|
|
initDriverAcceptanceTest(t)
|
|
|
|
|
|
|
|
d := NewTestDriver(t)
|
2017-11-08 11:47:29 -05:00
|
|
|
p, err := d.FindResourcePool("esxi-1.vsphere55.test", "pool1/pool2")
|
2017-10-25 17:51:54 -04:00
|
|
|
if err != nil {
|
2017-11-08 11:47:29 -05:00
|
|
|
t.Fatalf("Cannot find the default resource pool '%v': %v", "pool1/pool2", err)
|
2017-10-25 17:51:54 -04:00
|
|
|
}
|
2017-11-08 11:47:29 -05:00
|
|
|
CheckResourcePoolPath(t, p, "pool1/pool2")
|
2017-10-25 17:51:54 -04:00
|
|
|
}
|