Skip to content

Commit 22ac249

Browse files
committed
Run reach_max_unpack_size test only on debug build
1 parent 9ef926d commit 22ac249

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/testsuite/registry.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2698,6 +2698,8 @@ fn http_requires_trailing_slash() {
26982698
.run()
26992699
}
27002700

2701+
// Limit the test to debug builds so that `__CARGO_TEST_MAX_UNPACK_SIZE` will take affect.
2702+
#[cfg(debug_assertions)]
27012703
#[cargo_test]
27022704
fn reach_max_unpack_size() {
27032705
let p = project()

0 commit comments

Comments
 (0)