Example #1
0
 public function testMultiPut()
 {
     $workloads = array();
     for ($i = 0; $i < 10; $i++) {
         $workloads[] = "workload{$i}";
     }
     $this->provider->multiPut("RiverlineWorkerBundleTest_file_create", $workloads);
     sleep(5);
     $count = $this->provider->count("RiverlineWorkerBundleTest_file_create");
     $this->assertEquals(10, $count);
 }