Skip to content

Commit

Permalink
remove lastErr variables from rpc_test.go (hemilabs#185)
Browse files Browse the repository at this point in the history
* remove lastErr variables from rpc_test.go

lastErr was added to handle for something that likely shouldn't have been; it's an un-needed way to handle for errors.  replace with simply failing the test if there are errors.

fixes hemilabs#182

* removed un-needed for loops

* bump test timeout

* re-added needed break

* surround break in else for readability

* tune timeout back to 1 minute

* lint

* Update service/tbc/rpc_test.go

Co-authored-by: Joshua Sing <[email protected]>

* Update service/tbc/rpc_test.go

Co-authored-by: Joshua Sing <[email protected]>

* cleanup from pr feedback

* fixed error checking based on feedback

* handle write errors differently in tests

* get rid of some shadowing

* more code cleanup

* fixed test

* trying larger wait

* fix byte order

* pr feedback

---------

Co-authored-by: Joshua Sing <[email protected]>
  • Loading branch information
ClaytonNorthey92 and joshuasing authored Aug 5, 2024
1 parent 50274d3 commit 05e256f
Showing 1 changed file with 395 additions and 577 deletions.
Loading

0 comments on commit 05e256f

Please sign in to comment.