Tweak PermGen for tests
This commit is contained in:
parent
d89cf6db29
commit
ae368829f4
|
@ -61,6 +61,15 @@ class XsdDocumentedTests extends Specification {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
def cleanupSpec() {
|
||||||
|
appendix = null
|
||||||
|
appendixRoot = null
|
||||||
|
schema31xDocument = null
|
||||||
|
schemaDocument = null
|
||||||
|
elementNameToElement = null
|
||||||
|
schemaRootElement = null
|
||||||
|
}
|
||||||
|
|
||||||
def 'SEC-2139: named-security-filter are all defined and ordered properly'() {
|
def 'SEC-2139: named-security-filter are all defined and ordered properly'() {
|
||||||
setup:
|
setup:
|
||||||
def expectedFilters = (EnumSet.allOf(SecurityFilters) as List).sort { it.order }
|
def expectedFilters = (EnumSet.allOf(SecurityFilters) as List).sort { it.order }
|
||||||
|
|
|
@ -113,7 +113,7 @@ dependencies {
|
||||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
|
|
||||||
test {
|
test {
|
||||||
jvmArgs = ['-ea', '-Xmx500m']
|
jvmArgs = ['-ea', '-Xmx500m', '-XX:MaxPermSize=128M']
|
||||||
maxParallelForks = guessMaxForks()
|
maxParallelForks = guessMaxForks()
|
||||||
logging.captureStandardOutput(LogLevel.INFO)
|
logging.captureStandardOutput(LogLevel.INFO)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue