7 Commits

Author SHA1 Message Date
Joe Turki
cad1676659 Upgrade golangci-lint, more linters
Introduces new linters, upgrade golangci-lint to version (v1.63.4)
2025-01-17 08:21:15 -06:00
Eric Daniels
def1670796 Clean up Agents in tests more aggressively 2024-07-25 16:31:21 -04:00
Steffen Vogel
05ab684741 Use testify/require instead of testify/assert
Don't continue to run a test if it has already failed
2024-03-23 07:42:06 -04:00
Raja Subramanian
c8227261a2 Trace log inbound messages (#641)
* Trace log inbound messages

On an ICE restart in controlled mode, seeing incoming messages
getting discarded to due to username mismatch. That is because the
broswer is still using its old candidate and user name. As the
controlled agent waits for `useCandidate` from the controlling agent,
the controlled agent does not get to connected/nominated state inspite
of getting several success responses. Suspect the controlling side does
not have `useCandidate` for the new pair and it is still sending it for
the old pair. Logging more details in trace to understand it better.

* Fix test
2024-01-11 13:46:39 +05:30
Artur Shellunts
3172e05931 Extract TestOnSelectedCandidatePairChange
Extract TestOnSelectedCandidatePairChange to its own file.
2023-05-08 11:56:47 +02:00
Steffen Vogel
5ef81b65f4 Make package REUSE compliant 2023-04-18 13:46:38 +02:00
Artur Shellunts
19ffbe7e61 Rename TestPairPriority and refactor it
- Use a fixture to simplify the test.
- Remove call to findPair as it has no effect for the test.
- Replace assert with require, remove redundant error messages.
- Better naming.
2023-02-09 18:52:05 +01:00