Closed tamaro-skaljic closed 3 years ago
@huan The tests were not a problem in the build pipeline before. However, @cenk1cenk2 ran the tests locally in his terminal. As a result, the variable was overwritten in his terminal session, leading to unexpected behaviour afterwards. Namely, Postfix logs to a file that he did not specify. By introducing this global variable, the value that was in the variable before the test execution is now restored at the end of the test execution. So no, removing this global variable would cause this unexpected behaviour to occur again. Moving it to one of the @Test
blocks would be possible, but would have no effect on anything except that it would be in a different line.
Ok, thanks for the explaination.
Let's merge it for now, and if there are any improvement we could make it better, let's continue improving it.
48