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

MQTT test case fails randomly #347

Closed
localvar opened this issue Nov 2, 2021 · 0 comments · Fixed by #353
Closed

MQTT test case fails randomly #347

localvar opened this issue Nov 2, 2021 · 0 comments · Fixed by #353
Assignees
Labels
bug Something isn't working

Comments

@localvar
Copy link
Collaborator

localvar commented Nov 2, 2021

Describe the bug
MQTT test case fails randomly

To Reproduce

  1. switch to directory pkg/object/mqttproxy
  2. execute go test for several times
  3. test cases failed randomly
@localvar localvar added the bug Something isn't working label Nov 2, 2021
samutamm pushed a commit that referenced this issue Nov 4, 2021
@localvar localvar closed this as completed Nov 6, 2021
localvar added a commit that referenced this issue Nov 8, 2021
* remove goroutine from a test (close #347)

* modify http.Server.start() in mqtt_test to wait until ready

* Update pkg/object/mqttproxy/mqtt_test.go

Co-authored-by: Bomin Zhang <[email protected]>

* Fix typo in url address

Co-authored-by: SU Chen <[email protected]>

* fix formatting

Co-authored-by: Bomin Zhang <[email protected]>
Co-authored-by: SU Chen <[email protected]>
zhao-kun pushed a commit that referenced this issue Nov 8, 2021
* remove goroutine from a test (close #347)

* modify http.Server.start() in mqtt_test to wait until ready

* Update pkg/object/mqttproxy/mqtt_test.go

Co-authored-by: Bomin Zhang <[email protected]>

* Fix typo in url address

Co-authored-by: SU Chen <[email protected]>

* fix formatting

Co-authored-by: Bomin Zhang <[email protected]>
Co-authored-by: SU Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants