aboutsummaryrefslogtreecommitdiffstats
path: root/test/sendfile_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/sendfile_SUITE.erl')
-rw-r--r--test/sendfile_SUITE.erl6
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),