Skip to content

Commit

Permalink
Don't run I/O tests on pkg build server
Browse files Browse the repository at this point in the history
Still do run them on Travis CI and when testing locally.
  • Loading branch information
Greg Hendershott committed Jun 17, 2017
1 parent 1a0a7fd commit 31382e1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions http/request.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@
"Location: foobar\r\n"
"\r\n"))
"foobar"))

(test-case
"seconds->gmt-string"
(check-equal? 0
Expand Down Expand Up @@ -1055,6 +1055,8 @@
(lambda (in h)
(read-entity/bytes in h)
#t))))))
(for ([i '(0 10)])
(parameterize ([current-pool-timeout i])
(test))))
(unless (getenv "PLT_PKG_BUILD_SERVICE")
(for ([i '(0 10)])
(parameterize ([current-pool-timeout i])
(test)))))

0 comments on commit 31382e1

Please sign in to comment.