@@ -60,7 +60,7 @@ func TestInjectPythonSDK(t *testing.T) {
60
60
{
61
61
Name : "opentelemetry-auto-instrumentation-python" ,
62
62
Image : "foo/bar:1" ,
63
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
63
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
64
64
VolumeMounts : []corev1.VolumeMount {{
65
65
Name : "opentelemetry-auto-instrumentation-python" ,
66
66
MountPath : "/otel-auto-instrumentation-python" ,
@@ -137,7 +137,7 @@ func TestInjectPythonSDK(t *testing.T) {
137
137
{
138
138
Name : "opentelemetry-auto-instrumentation-python" ,
139
139
Image : "foo/bar:1" ,
140
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
140
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
141
141
VolumeMounts : []corev1.VolumeMount {{
142
142
Name : "opentelemetry-auto-instrumentation-python" ,
143
143
MountPath : "/otel-auto-instrumentation-python" ,
@@ -215,7 +215,7 @@ func TestInjectPythonSDK(t *testing.T) {
215
215
{
216
216
Name : "opentelemetry-auto-instrumentation-python" ,
217
217
Image : "foo/bar:1" ,
218
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
218
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
219
219
VolumeMounts : []corev1.VolumeMount {{
220
220
Name : "opentelemetry-auto-instrumentation-python" ,
221
221
MountPath : "/otel-auto-instrumentation-python" ,
@@ -292,7 +292,7 @@ func TestInjectPythonSDK(t *testing.T) {
292
292
{
293
293
Name : "opentelemetry-auto-instrumentation-python" ,
294
294
Image : "foo/bar:1" ,
295
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
295
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
296
296
VolumeMounts : []corev1.VolumeMount {{
297
297
Name : "opentelemetry-auto-instrumentation-python" ,
298
298
MountPath : "/otel-auto-instrumentation-python" ,
@@ -445,7 +445,7 @@ func TestInjectPythonSDK(t *testing.T) {
445
445
{
446
446
Name : "opentelemetry-auto-instrumentation-python" ,
447
447
Image : "foo/bar:1" ,
448
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
448
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
449
449
VolumeMounts : []corev1.VolumeMount {{
450
450
Name : "opentelemetry-auto-instrumentation-python" ,
451
451
MountPath : "/otel-auto-instrumentation-python" ,
@@ -549,7 +549,7 @@ func TestInjectPythonSDK(t *testing.T) {
549
549
{
550
550
Name : "opentelemetry-auto-instrumentation-python" ,
551
551
Image : "foo/bar:1" ,
552
- Command : []string {"cp" , "-r" , "/autoinstrumentation-musl/." , "/otel-auto-instrumentation-python" },
552
+ Command : []string {"test" , "-d" , "/autoinstrumentation-musl/." , "&&" , " cp" , "-r" , "/autoinstrumentation-musl/." , "/otel-auto-instrumentation-python" , "||" , "cp" , "-r" , "/autoinstrumentation /." , "/otel-auto-instrumentation-python" },
553
553
VolumeMounts : []corev1.VolumeMount {{
554
554
Name : "opentelemetry-auto-instrumentation-python" ,
555
555
MountPath : "/otel-auto-instrumentation-python" ,
@@ -615,7 +615,7 @@ func TestInjectPythonSDK(t *testing.T) {
615
615
{
616
616
Name : "opentelemetry-auto-instrumentation-python" ,
617
617
Image : "foo/bar:1" ,
618
- Command : []string {"cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
618
+ Command : []string {"test" , "-d" , "/autoinstrumentation/." , "&&" , "cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" , "||" , " cp" , "-r" , "/autoinstrumentation/." , "/otel-auto-instrumentation-python" },
619
619
VolumeMounts : []corev1.VolumeMount {{
620
620
Name : "opentelemetry-auto-instrumentation-python" ,
621
621
MountPath : "/otel-auto-instrumentation-python" ,
0 commit comments