Skip to content

goodbye ping loopback if#582

Open
paolopas wants to merge 5 commits intobfgroup:mainfrom
paolopas:winzozz-2
Open

goodbye ping loopback if#582
paolopas wants to merge 5 commits intobfgroup:mainfrom
paolopas:winzozz-2

Conversation

@paolopas
Copy link
Copy Markdown
Contributor

@paolopas paolopas commented Apr 5, 2026

Let's look at this beautiful piece of code one last time

t.write("sleep.bat", """\
::@timeout /T %1 /NOBREAK >nul
@ping 127.0.0.1 -n 2 -w 1000 >nul
@ping 127.0.0.1 -n %1 -w 1000 >nul
@exit /B 0
""")

because I removed it from every test it was still in !
It used to be really complicated to get a sleep on Windows, and this has been the solution until now.

The problem is not only depending on network latency, which can change for reasons other than technological ones, but above all running such different tests between the various platforms.

The solution is to use Python everywhere.

@grafikrobot grafikrobot moved this to 🆕 New in BFG Tasks Apr 5, 2026
@grafikrobot grafikrobot added the enhancement New feature or request label Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

2 participants