code: def testNonrepeatedDatasetDoesntProduceSecondRepetitionDir(self):
      num_workers = 5
      num_sources = 3
      cluster, _ = self.setup(
          num_workers=num_workers,
          ds_size=1000,
          num_sources=num_sources,
      )
      # Blocks until all workers have streams.
      get_stream_assignments(cluster, num_workers, [self._path])
      cluster.stop_worker(0)
      cluster.restart_worker(0)
      self._wait_for_snapshot()
      self.assertTrue(self._snapshot_is_done())
      for stream_idx in range(num_workers):
          for source_idx in range(num_sources):
              self.assertFalse(
                  os.path.exists(
                      os.path.join(
                          self._path,
                          "streams",
                          f"stream_{stream_idx}",
                          "splits",
                          f"source_{source_idx}",
                          "repetition_1",
                      )
                  )
              )
  
imports: import collections
  import os
  import pathlib
  import shutil
  import tempfile
  import time
  from absl.testing import parameterized
  from tensorflow.python.data.experimental.kernel_tests.service import test_base
  from tensorflow.python.data.experimental.ops import distributed_save_op
  from tensorflow.python.data.experimental.service import _pywrap_snapshot_utils
  from tensorflow.python.data.kernel_tests import test_base
  from tensorflow.python.data.ops import dataset_ops
  from tensorflow.python.data.ops import test_mode
  from tensorflow.python.framework import combinations
  from tensorflow.python.framework import errors
  from tensorflow.python.platform import test
label_desc: Use image node_id 22 for calling the SnapshotFtTest obj's underlying member method code with example usage: obj.testNonrepeatedDatasetDoesntProduceSecondRepetitionDir() without return types