Merge remote-tracking branch 'origin/jetty-10.0.x' into jetty-11.0.x
This commit is contained in:
commit
1b795a324c
|
@ -27,6 +27,7 @@ import org.junit.jupiter.api.AfterEach;
|
|||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Disabled;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.condition.DisabledIfSystemProperty;
|
||||
import org.junit.jupiter.params.ParameterizedTest;
|
||||
import org.junit.jupiter.params.provider.ValueSource;
|
||||
|
||||
|
@ -289,9 +290,11 @@ public class TempDirTest
|
|||
|
||||
/**
|
||||
* ServletContext.TEMPDIR has invalid <code>String</code> directory value (wrong permission to write into it)
|
||||
* IllegalStateException
|
||||
*
|
||||
* Note that if run in the CI environment, the test will fail, because it runs as root,
|
||||
* so we _will_ have permission to write to this directory.
|
||||
*/
|
||||
@Disabled("Jenkins will run as root so we do have permission to write to this directory.")
|
||||
@DisabledIfSystemProperty(named = "env", matches = "ci")
|
||||
@Test
|
||||
public void attributeWithInvalidPermissions()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue