spec/integration_spec.rb in parallel_tests-0.4.16 vs spec/integration_spec.rb in parallel_tests-0.4.17

- old
+ new

@@ -27,11 +27,11 @@ def executable "#{bin_folder}/parallel_test" end def run_specs(options={}) - `cd #{folder} && #{executable} -t spec -n #{options[:processes]||2} #{options[:add]} 2>&1` + `cd #{folder} && #{executable} --chunk-timeout 999 -t spec -n #{options[:processes]||2} #{options[:add]} 2>&1` end it "runs tests in parallel" do write 'xxx_spec.rb', 'describe("it"){it("should"){puts "TEST1"}}' write 'xxx2_spec.rb', 'describe("it"){it("should"){puts "TEST2"}}' @@ -109,6 +109,6 @@ write "x1_spec.rb", "" write "x2_spec.rb", "" result = run_specs(:add => "--test-options ' --version'", :processes => 2) result.should =~ /\d+\.\d+\.\d+.*\d+\.\d+\.\d+/m # prints version twice end -end \ No newline at end of file +end