Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retry to connect to network in esp-tester. #2692

Merged
merged 1 commit into from
Jan 14, 2025
Merged

Conversation

floitsch
Copy link
Member

No description provided.

@floitsch floitsch requested a review from kasperl January 14, 2025 11:51
@cla-bot cla-bot bot added the cla-signed The contributors have signed the CLA label Jan 14, 2025
@floitsch
Copy link
Member Author

TBR.

@floitsch floitsch merged commit 308b2fc into master Jan 14, 2025
23 of 24 checks passed
@floitsch floitsch deleted the floitsch/retry-wifi branch January 14, 2025 12:02
Copy link
Member

@kasperl kasperl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@@ -27,7 +29,12 @@ install-new-test:
if id != containers.current:
containers.uninstall id

network := net.open
network/net.Client? := null
for i := 0; i < NETWORK_RETRIES; i++:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NETWORK-RETRIES

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#2693.
Saw it too, and then just forgot to fix it...
done.

network := net.open
network/net.Client? := null
for i := 0; i < NETWORK_RETRIES; i++:
catch --unwind=(: i == NETWORK_RETRIES - 1):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NETWORK-RETRIES

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same.
done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The contributors have signed the CLA
Development

Successfully merging this pull request may close these issues.

2 participants