diff options
author | Loïc Hoguin <[email protected]> | 2017-11-16 22:51:57 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2017-11-16 22:51:57 +0100 |
commit | 48631aea66c06b5706fb56d3e24f284347ac469d (patch) | |
tree | a7e291181cc975299c1fc3da00ff72c05d78fe41 /test/sendfile_SUITE.erl | |
parent | c9f004c62c1edfad5ac7b6f68ba33b574f330921 (diff) | |
download | ranch-48631aea66c06b5706fb56d3e24f284347ac469d.tar.gz ranch-48631aea66c06b5706fb56d3e24f284347ac469d.tar.bz2 ranch-48631aea66c06b5706fb56d3e24f284347ac469d.zip |
Disable tests that use tracing when +native is used
Diffstat (limited to 'test/sendfile_SUITE.erl')
-rw-r--r-- | test/sendfile_SUITE.erl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/sendfile_SUITE.erl b/test/sendfile_SUITE.erl index 14bc47d..e2c9dc0 100644 --- a/test/sendfile_SUITE.erl +++ b/test/sendfile_SUITE.erl @@ -227,6 +227,12 @@ rawfile_range_small(Config) -> ok = Transport:close(Server). ssl_chunk_size(Config) -> + case code:is_module_native(?MODULE) of + true -> doc("This test uses tracing and is not compatible with native code."); + false -> do_ssl_chunk_size(Config) + end. + +do_ssl_chunk_size(Config) -> doc("Use sendfile with SSL. Ensure the sendfile fallback respects the chunk size."), Transport = config(transport, Config), Filename = config(filename, Config), |