File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
tests/Contrast.K8s.AgentOperator.FunctionalTests/Scenarios/Injection Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -137,12 +137,12 @@ public async Task When_injected_then_pod_should_have_injection_init_container()
137137 var container = result . Spec . InitContainers . Single ( x => x . Name == "contrast-init" ) ;
138138 container . ImagePullPolicy . Should ( ) . Be ( "Always" ) ;
139139
140- container . VolumeMounts . Should ( ) . Contain ( x => x . Name == "contrast-agent" ) . Which . MountPath . Should ( ) . Be ( "/contrast-agent" ) ;
141- container . VolumeMounts . Should ( ) . Contain ( x => x . Name == "contrast-writable" ) . Which . MountPath . Should ( ) . Be ( "/contrast-writable " ) ;
140+ container . VolumeMounts . Should ( ) . Contain ( x => x . Name == "contrast-agent" ) . Which . MountPath . Should ( ) . Be ( "/contrast-init/ agent" ) ;
141+ container . VolumeMounts . Should ( ) . Contain ( x => x . Name == "contrast-writable" ) . Which . MountPath . Should ( ) . Be ( "/contrast-init/data " ) ;
142142
143- container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-agent" ) ;
144- container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_AGENT_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-agent" ) ;
145- container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_WRITABLE_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-writable " ) ;
143+ container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-init/ agent" ) ;
144+ container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_AGENT_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-init/ agent" ) ;
145+ container . Env . Should ( ) . Contain ( x => x . Name == "CONTRAST_MOUNT_WRITABLE_PATH" ) . Which . Value . Should ( ) . Be ( "/contrast-init/data " ) ;
146146 }
147147 }
148148
You can’t perform that action at this time.
0 commit comments