fix intermittent test failure

I believe this test failed because the jenkins slave node that gets
created in the test does not come online fast enough.  The
test now polls to make sure the slave is online before continuing.

Change-Id: I2a86d0b550daf70e5d2041994d78ff5e4649a62b