docstr: Check that the get_results blocking timeout works
docstr_tok: ["Check","that","the","get_results","blocking","timeout","works"]
code: def block_on_get_results_impl(self, pool_class):
      """Check that the get_results blocking timeout works"""
  
      # COULD BECOME A FLAKY TEST SINCE RELIES ON TIME
      WORKERS_COUNT = 10
      pool = pool_class(WORKERS_COUNT)
  
      pool.start(SleepyWorkerIdGeneratingWorker)
      tic = time.time()
  
      pool.ventilate()
      pool.get_results()
  
      toc = time.time()
      # Leave a huge slack so we don't get a flaky test
      self.assertTrue(np.isclose(1.0, toc - tic, atol=0.5))
  
      pool.stop()
      pool.join()
  
imports: import time
  import unittest
  import numpy
  from multiprocessing import Process, Manager
  from psutil import pid_exists
  from petastorm.workers_pool import EmptyResultError
  from petastorm.workers_pool.dummy_pool import DummyPool
  from petastorm.workers_pool.process_pool import ProcessPool
  from petastorm.workers_pool.tests.stub_workers import CoeffMultiplierWorker, WorkerIdGeneratingWorker, WorkerMultiIdGeneratingWorker, SleepyWorkerIdGeneratingWorker, ExceptionGeneratingWorker_5, PreprogrammedReturnValueWorker
  from petastorm.workers_pool.thread_pool import ThreadPool
label_desc: Use image node_id 6 for calling the TestWorkersPool obj's underlying member method code with example usage: obj.block_on_get_results_impl(pool_class) without return types