message: Make HW tests wait for IPUs
  Summary: Ref T16509
  Test Plan: Runs locally
  Reviewers: jakeh, #tensorflow, #framework_ip_review_-_any_oss_or_third-party_code_use_has_been_approved
  Maniphest Tasks: T16509
diff: @@ -29,10 +29,10 @@ from tensorflow.python.training import gradient_descent
  from tensorflow.compiler.plugin.poplar.tests import test_utils as tu
  # Error threshold for forward pass test.
  -THRESHOLD = 0.03
  +THRESHOLD = 0.1
  # Dimensions of the random data tensor.
  -DIMS = (1024, 1024, 4)
  +DIMS = (64, 64, 4)
  # Initialise with a random seed.
  SEED = np.random.randint(np.iinfo(np.int32).max, size=[2], dtype=np.int32)
  @@ -96,8 +96,9 @@ class PopnnRandomDropoutTest(test_util.TensorFlowTestCase,
  with ipu.scopes.ipu_scope("/device:IPU:0"):
  r = ipu.ipu_compiler.compile(f, inputs=[input_data])
  - cfg = IPUConfig()
  - cfg.ipu_model.compile_ipu_code = False
  + cfg = ipu.config.IPUConfig()
  + cfg.auto_select_ipus = 1
  + tu.add_hw_ci_connection_options(cfg)
  cfg.configure_ipu_system()
  return r, input_data
  @@ -106,7 +107,6 @@ class PopnnRandomDropoutTest(test_util.TensorFlowTestCase,
  @test_util.deprecated_graph_mode_only
  def testInvalidNoiseShape(self):
  in_data = np.random.rand(16, 8, 16)
  - print(in_data.shape)
  seed = np.array([12, 34], dtype=np.int32)
  with sl.Session() as sess:
  