class_docstr: Simple integration/smoke test for the distributed agent.
class_docstr_tok: ["Simple","integration\/smoke","test","for","the","distributed","agent","."]
docstr: Tests that the agent can run on the control suite without crashing.
docstr_tok: ["Tests","that","the","agent","can","run","on","the","control","suite","without","crashing","."]
code: def test_control_suite(self):
      """Tests that the agent can run on the control suite without crashing."""
  
      agent = svg0_prior.DistributedSVG0(
          environment_factory=lambda x: fakes.ContinuousEnvironment(),
          network_factory=make_networks,
          num_actors=2,
          batch_size=32,
          min_replay_size=32,
          max_replay_size=1000,
      )
      program = agent.build()
  
      (learner_node,) = program.groups["learner"]
      learner_node.disable_run()
  
      lp.launch(program, launch_type="test_mt")
  
      learner: acme.Learner = learner_node.create_handle().dereference()
  
      for _ in range(5):
          learner.step()
  
file_path: acme/acme/agents/tf/svg0_prior/agent_distributed_test.py
imports: from typing import Sequence
  import acme
  from acme import specs
  from acme.agents.tf import svg0_prior
  from acme.testing import fakes
  from acme.tf import networks
  from acme.tf import utils
  import launchpad
  import numpy
  import sonnet
  from absl.testing import absltest
label_desc: Use image node_id 1 for calling the DistributedAgentTest obj's underlying member method code with example usage: obj.test_control_suite() without return types