@@ -90,7 +90,7 @@ abstract class DDSpecification extends Specification {
90
90
91
91
void setupSpec () {
92
92
assert ! configModificationFailed: " Config class modification failed. Ensure all test classes extend DDSpecification"
93
- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
93
+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
94
94
assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
95
95
96
96
if (getDDThreads(). isEmpty()) {
@@ -106,7 +106,7 @@ abstract class DDSpecification extends Specification {
106
106
void cleanupSpec () {
107
107
restoreProperties()
108
108
109
- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
109
+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
110
110
assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
111
111
112
112
if (isConfigInstanceModifiable) {
@@ -129,7 +129,7 @@ abstract class DDSpecification extends Specification {
129
129
void setup () {
130
130
restoreProperties()
131
131
132
- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
132
+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
133
133
assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
134
134
135
135
if (isConfigInstanceModifiable) {
@@ -140,7 +140,7 @@ abstract class DDSpecification extends Specification {
140
140
void cleanup () {
141
141
restoreProperties()
142
142
143
- // // assert System.getenv().findAll { it.key.startsWith("DD_") }.isEmpty()
143
+ assert System . getenv(). findAll { it. key. startsWith(" DD_" ) }. isEmpty()
144
144
assert systemPropertiesExceptAllowed(). findAll { it. key. toString(). startsWith(" dd." ) }. isEmpty()
145
145
146
146
if (isConfigInstanceModifiable) {
0 commit comments