From f60e2ab6e48d206e21413b7050dc5f72e6fa0103 Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Mon, 10 Feb 2020 15:38:43 +0100
Subject: [PATCH] fix windows test

---
 deploy/build_env/manylinux2010/Dockerfile                   | 6 +++++-
 .../check_windows.bat                                       | 2 +-
 tests/automatic/producer/python_api/check_windows.bat       | 2 +-
 3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/deploy/build_env/manylinux2010/Dockerfile b/deploy/build_env/manylinux2010/Dockerfile
index c9a295978..a94863c1d 100644
--- a/deploy/build_env/manylinux2010/Dockerfile
+++ b/deploy/build_env/manylinux2010/Dockerfile
@@ -7,4 +7,8 @@ RUN yum update -y && yum install -y golang wget zlib-devel
 ADD install_curl.sh install_curl.sh
 RUN ./install_curl.sh /curl
 
-ADD build.sh /bin/build.sh
\ No newline at end of file
+ADD build.sh /bin/build.sh
+
+RUN chmod og+rwX -R /opt
+
+
diff --git a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
index 4e4fce955..e5affaa43 100644
--- a/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
+++ b/tests/automatic/bug_fixes/error-sending-data-using-callback-method/check_windows.bat
@@ -1,7 +1,7 @@
 SET mongo_exe="c:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
 SET beamtime_id=asapo_test
 SET beamline=test
-SET stream=%1
+SET stream=python
 SET receiver_root_folder=c:\tmp\asapo\receiver\files
 SET receiver_folder="%receiver_root_folder%\test_facility\gpfs\%beamline%\2019\data\%beamtime_id%"
 SET dbname = %beamtime_id%_%stream%
diff --git a/tests/automatic/producer/python_api/check_windows.bat b/tests/automatic/producer/python_api/check_windows.bat
index 3d5386b7a..01c838078 100644
--- a/tests/automatic/producer/python_api/check_windows.bat
+++ b/tests/automatic/producer/python_api/check_windows.bat
@@ -1,7 +1,7 @@
 SET mongo_exe="c:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
 SET beamtime_id=asapo_test
 SET beamline=test
-SET stream=%1
+SET stream=python
 SET receiver_root_folder=c:\tmp\asapo\receiver\files
 SET receiver_folder="%receiver_root_folder%\test_facility\gpfs\%beamline%\2019\data\%beamtime_id%"
 SET dbname = %beamtime_id%_%stream%
-- 
GitLab