33 Commits

Author SHA1 Message Date
HoneyryderChuck
1fd9cbc83e tests: disable auto-compaction for mimemagic-related tests
mimemagic seems to corrupt memory under auto-compaction, so disabling it
until it's fixed.

https://github.com/mimemagicrb/mimemagic/issues/166
2022-02-13 15:02:54 +00:00
HoneyryderChuck
a14fa26c7c added new regression testing task 2021-06-02 18:44:05 +01:00
HoneyryderChuck
9a34af9e27 moved test servlets to separate folder 2021-05-29 15:50:23 +01:00
HoneyryderChuck
9801cb7b31 update truffleruby to official images 2021-05-21 16:44:31 +01:00
HoneyryderChuck
00faafddc9 added tests around the tcp connect errors 2021-03-11 17:58:24 +00:00
HoneyryderChuck
4c5b59d2c3 integrating the integration tests in CI, disable parallel mode for them
as one can't guarantee that the third-party modules we integrate with
are safe to run concurrently, we're left best running them sequentially.
For our first integration, webmock, this holds true.
2021-01-01 16:56:36 +00:00
HoneyryderChuck
623ad7d50a enabling auto-compaction in GC 2020-12-18 18:16:01 +00:00
HoneyryderChuck
2a49fbc78f moved custom plugins used in tests to the support dir 2020-10-31 01:07:26 +00:00
HoneyryderChuck
e0c88f642f loading plugins upfront when runtime type checking is enabled, as they need to be in memory 2020-10-30 16:19:18 +00:00
HoneyryderChuck
9c8adfcb55 enabling merging of coverage reports 2020-09-30 11:45:58 +01:00
HoneyryderChuck
bb310dc106 making the connection ping when keep alive timeout is exceeded; this way if the connection is still available, it's reused 2020-05-03 16:28:58 +01:00
HoneyryderChuck
b6eb2b488b fixup! reenabling concurrent request tests 2020-03-21 17:53:07 +00:00
HoneyryderChuck
e5f327c82a moved session with own pool definition to the test helpers 2020-03-21 12:46:46 +00:00
HoneyryderChuck
ad249b44f8 use USR2 signal to show thread backtraces in test mode instead 2020-03-15 13:13:43 +00:00
HoneyryderChuck
44481eac89 removed messages around the connect test server 2020-03-15 00:00:16 +00:00
HoneyryderChuck
327e8f014f alpine does not support SIGINFO, use SIGUSR2 instead for the minitest info trap 2020-03-14 22:38:00 +00:00
HoneyryderChuck
ad8105afd6 Revert "removing the condition variable around the unix test, as it's probably the cause of the CI hanging"
This reverts commit 26017e1f5b600683222eb192d6ac9fc1f78391f0.
2020-03-14 00:22:54 +00:00
HoneyryderChuck
26017e1f5b removing the condition variable around the unix test, as it's probably the cause of the CI hanging 2020-03-11 01:20:29 +00:00
HoneyryderChuck
e4e04e9fe8 setting the connect timeout port as envvar 2020-01-11 13:19:21 +00:00
HoneyryderChuck
b96eb526a3 fixed tests for connect timeouts
using ip tables to drop SYN packets on port 9090; this requires to run
the container in privileged mode. It was also necessary to handle the
Errno::ETIMEDOUT error, as this has to be directly transformed into a
connection error
2019-12-31 01:57:00 +00:00
HoneyryderChuck
c73d6ff3d9 updated rubocop, made necessary changes for syntax to be approved 2019-12-30 02:44:47 +00:00
HoneyryderChuck
5ff5fc38bc fixed ruby 2.3 lack of support for SSL_CERT_FILE (openssl) 2019-12-22 02:00:15 +00:00
HoneyryderChuck
8ca59545a2 added test for connection coalescing (and removed the certificate verification disable flag) 2019-12-21 11:40:43 +00:00
HoneyryderChuck
b2cc1c8d4a enabled parallel testing; turn off certificate verification on CI mode 2018-06-11 19:16:22 +01:00
HoneyryderChuck
1065607837 fixed patch for CI 2.5 to count with 2.5.1 as well 2018-04-03 19:47:40 +01:00
HoneyryderChuck
0dd9d1152c disable ssl verification in ruby 2.5 2018-02-17 16:31:56 +00:00
HoneyryderChuck
6dff88caf4 load support before requests 2018-01-28 23:22:57 +00:00
HoneyryderChuck
861d69c409 fixed all remaining rubocop fails 2018-01-28 23:01:33 +00:00
HoneyryderChuck
54d5b42d90 added simplecov 2018-01-28 22:00:33 +00:00
HoneyryderChuck
703620bc19 added support for minitest run in parallel 2017-12-14 01:20:12 +00:00
HoneyryderChuck
f68f338e53 enabling debugging with envvar 2017-12-12 21:21:27 +00:00
HoneyryderChuck
daa2860b60 mobed all http request tests to request helpers 2017-12-11 14:59:40 +00:00
HoneyryderChuck
46a1223187 addest tests for headers/request/response 2017-11-28 14:00:16 +00:00