diff --git a/tests/automatic/producer/python_api/check_windows.bat b/tests/automatic/producer/python_api/check_windows.bat
index b7baf522b94b0fcf87c664dd7cbba2e637627692..aa2663afa23580ac97386423f395f8921ca12c3f 100644
--- a/tests/automatic/producer/python_api/check_windows.bat
+++ b/tests/automatic/producer/python_api/check_windows.bat
@@ -32,9 +32,11 @@ echo %NUM% | findstr 10 || 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 "} server warning: ignoring duplicate record" ^< "out"') do set NUM=%%N
-echo %NUM% | findstr 2 || goto error
+echo %NUM% | findstr 1 || goto error
+
+for /F %%N in ('find /C "} server warning: duplicated request" ^< "out"') do set NUM=%%N
+echo %NUM% | findstr 1 || goto error
 
 goto :clean