优化
This commit is contained in:
@@ -22,7 +22,7 @@ test('frontend full regression includes domestic and overseas PDA node tests by
|
||||
|
||||
test('backend full regression uses the entire root reactor and preserves critical file/container coverage', () => {
|
||||
const args = backendScript.match(/\$mavenArgs\s*=\s*@\(([^\r\n]+)\)/)?.[1]
|
||||
assert.equal(args, '"-f", $pom, "test"')
|
||||
assert.equal(args, '\'-T\', \'1\', \'-DforkCount=1\', \'-DreuseForks=true\', "-f", $pom, "test"')
|
||||
assert.match(backendScript, /\$pom = Join-Path \$repoRoot "pom.xml"/)
|
||||
assert.doesNotMatch(args, /-pl|-rf|-N|skipTests|maven.test.skip/)
|
||||
assert.match(backendScript, /complete root POM reactor/)
|
||||
|
||||
Reference in New Issue
Block a user