[store]
dir = "target/nextest"

[profile.default]
retries = 0
fail-fast = true
test-threads = "num-cpus"
slow-timeout = { period = "30s", terminate-after = 4 }

[profile.ci]
retries = 2
fail-fast = false
test-threads = "num-cpus"
slow-timeout = { period = "30s", terminate-after = 4 }

[test-groups]
serial-env-tests = { max-threads = 1 }
heavy-load-tests = { max-threads = 4 }

[[profile.default.overrides]]
filter = "test(/import_with_verification/) | test(/plc_migration/)"
test-group = "serial-env-tests"

[[profile.default.overrides]]
filter = "binary(handle_domains)"
test-group = "serial-env-tests"

[[profile.default.overrides]]
filter = "binary(ripple_cluster)"
test-group = "serial-env-tests"

[[profile.default.overrides]]
filter = "binary(whole_story)"
test-group = "heavy-load-tests"

[[profile.default.overrides]]
filter = "test(/two_node_stress_concurrent_load/)"
test-group = "heavy-load-tests"

[[profile.default.overrides]]
filter = "binary(repo_lifecycle)"
test-group = "heavy-load-tests"

[[profile.ci.overrides]]
filter = "test(/import_with_verification/) | test(/plc_migration/)"
test-group = "serial-env-tests"

[[profile.ci.overrides]]
filter = "binary(handle_domains)"
test-group = "serial-env-tests"

[[profile.ci.overrides]]
filter = "binary(ripple_cluster)"
test-group = "serial-env-tests"

[[profile.ci.overrides]]
filter = "binary(whole_story)"
test-group = "heavy-load-tests"

[[profile.ci.overrides]]
filter = "test(/two_node_stress_concurrent_load/)"
test-group = "heavy-load-tests"

[[profile.ci.overrides]]
filter = "binary(repo_lifecycle)"
test-group = "heavy-load-tests"
