73 lines
1.2 KiB
TOML
73 lines
1.2 KiB
TOML
# NAC集成测试配置文件
|
|
|
|
[test]
|
|
# 测试环境配置
|
|
environment = "test"
|
|
log_level = "debug"
|
|
enable_logging = true
|
|
|
|
[test.timeouts]
|
|
# 超时配置(秒)
|
|
default = 30
|
|
integration = 60
|
|
e2e = 120
|
|
performance = 300
|
|
stress = 600
|
|
|
|
[test.nodes]
|
|
# 节点配置
|
|
default_count = 3
|
|
performance_count = 10
|
|
stress_count = 20
|
|
start_port = 8000
|
|
|
|
[test.blockchain]
|
|
# 区块链配置
|
|
block_time_ms = 1000
|
|
fast_block_time_ms = 100
|
|
confirmations = 3
|
|
|
|
[test.performance]
|
|
# 性能测试目标
|
|
target_tps = 10000
|
|
min_tps = 1000
|
|
max_latency_ms = 100
|
|
max_block_time_ms = 5000
|
|
|
|
[test.stress]
|
|
# 压力测试配置
|
|
max_transactions = 100000
|
|
max_accounts = 50000
|
|
max_blocks = 10000
|
|
sustained_duration_secs = 30
|
|
|
|
[test.stability]
|
|
# 稳定性测试配置
|
|
long_run_hours = 24
|
|
memory_leak_iterations = 1000
|
|
continuous_operation_secs = 3600
|
|
|
|
[test.compliance]
|
|
# 合规测试配置
|
|
kyc_required = true
|
|
aml_screening = true
|
|
daily_limit = 10000
|
|
risk_threshold = 50
|
|
|
|
[test.rwa]
|
|
# RWA交易所测试配置
|
|
fee_rate = 0.001
|
|
min_order_amount = 100
|
|
max_order_amount = 1000000
|
|
|
|
[test.bridge]
|
|
# 跨链桥接测试配置
|
|
timeout_period_secs = 86400
|
|
supported_chains = ["NAC", "Ethereum", "BSC", "Polygon"]
|
|
|
|
[test.reporting]
|
|
# 测试报告配置
|
|
output_format = "json"
|
|
generate_html = true
|
|
include_coverage = true
|