1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

Remove dockerExecute rule from dockerExecuteOnKubernetes unit test (#1994)

This commit is contained in:
Marcus Holl 2020-09-23 09:27:42 +02:00 committed by GitHub
parent c72020b7a5
commit 9e20e70050
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,6 @@ import static org.junit.Assert.assertFalse
class DockerExecuteOnKubernetesTest extends BasePiperTest { class DockerExecuteOnKubernetesTest extends BasePiperTest {
private ExpectedException exception = ExpectedException.none() private ExpectedException exception = ExpectedException.none()
private JenkinsDockerExecuteRule dockerExecuteRule = new JenkinsDockerExecuteRule(this)
private JenkinsShellCallRule shellRule = new JenkinsShellCallRule(this) private JenkinsShellCallRule shellRule = new JenkinsShellCallRule(this)
private JenkinsLoggingRule loggingRule = new JenkinsLoggingRule(this) private JenkinsLoggingRule loggingRule = new JenkinsLoggingRule(this)
private JenkinsStepRule stepRule = new JenkinsStepRule(this) private JenkinsStepRule stepRule = new JenkinsStepRule(this)
@ -38,7 +37,6 @@ class DockerExecuteOnKubernetesTest extends BasePiperTest {
.getCommonRules(this) .getCommonRules(this)
.around(new JenkinsReadYamlRule(this)) .around(new JenkinsReadYamlRule(this))
.around(exception) .around(exception)
.around(dockerExecuteRule)
.around(shellRule) .around(shellRule)
.around(loggingRule) .around(loggingRule)
.around(stepRule) .around(stepRule)