From bbcaf4f499918f116179bee240fc8efdfdba427c Mon Sep 17 00:00:00 2001
From: Sergey Yakubov <sergey.yakubov@desy.de>
Date: Thu, 20 Feb 2020 10:56:48 +0100
Subject: [PATCH] fix windows test

---
 tests/automatic/producer/python_api/check_windows.bat | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/automatic/producer/python_api/check_windows.bat b/tests/automatic/producer/python_api/check_windows.bat
index 6d8d3ddb2..b7baf522b 100644
--- a/tests/automatic/producer/python_api/check_windows.bat
+++ b/tests/automatic/producer/python_api/check_windows.bat
@@ -29,12 +29,12 @@ set NUM=0
 for /F %%N in ('find /C "successfuly sent" ^< "out"') do set NUM=%%N
 echo %NUM% | findstr 10 || goto error
 
-for /F %%N in ('find /C "already have record with same id" ^< "out"') do set NUM=%%N
-echo %NUM% | findstr 4 || goto error
+for /F %%N in ('find /C "} wrong input: Bad request :already have record with same id" ^< "out"') do set NUM=%%N
+echo %NUM% | findstr 2 || goto error
 
 
-for /F %%N in ('find /C "duplicate" ^< "out"') do set NUM=%%N
-echo %NUM% | findstr 4 || goto error
+for /F %%N in ('find /C "} server warning: ignoring duplicate record" ^< "out"') do set NUM=%%N
+echo %NUM% | findstr 2 || goto error
 
 goto :clean
 
-- 
GitLab