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