Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix flaky test: test_streaming.R.Terminated by error
  • Loading branch information
zsxwing committed Apr 19, 2017
commit a05a8c031580237fba9e467d63b07be8e27faf29
2 changes: 1 addition & 1 deletion R/pkg/inst/tests/testthat/test_streaming.R
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ test_that("Terminated by error", {
expect_error(q <- write.stream(counts, "memory", queryName = "people4", outputMode = "complete"),
NA)

expect_error(awaitTermination(q, 1),
expect_error(awaitTermination(q, 5 * 1000),
paste0(".*(awaitTermination : streaming query error - Invalid value '-1' for option",
" 'maxFilesPerTrigger', must be a positive integer).*"))

Expand Down