Commit graph

2,304 commits

Author SHA1 Message Date
Joachim Bauch
b68a109591
Merge pull request #1154 from strukturag/dependabot/github_actions/artifacts-c2e7f7cad0
Bump the artifacts group with 2 updates
2025-12-15 09:03:59 +01:00
Joachim Bauch
b74f8fc349
Merge pull request #1155 from strukturag/dependabot/go_modules/github.com/pion/ice/v4-4.1.0
Bump github.com/pion/ice/v4 from 4.0.13 to 4.1.0
2025-12-15 08:30:20 +01:00
Joachim Bauch
cb21ff6b6a
Merge pull request #1156 from strukturag/dependabot/go_modules/google.golang.org/protobuf-1.36.11
Bump google.golang.org/protobuf from 1.36.10 to 1.36.11
2025-12-15 08:29:57 +01:00
Joachim Bauch
c917bae050
Merge pull request #1157 from strukturag/dependabot/github_actions/actions/cache-5
Bump actions/cache from 4 to 5
2025-12-15 08:29:07 +01:00
dependabot[bot]
5dd4c91fff
Bump actions/cache from 4 to 5
Bumps [actions/cache](https://github.com/actions/cache) from 4 to 5.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 20:01:49 +00:00
dependabot[bot]
f0b2fc6c4f
Bump google.golang.org/protobuf from 1.36.10 to 1.36.11
Bumps google.golang.org/protobuf from 1.36.10 to 1.36.11.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 20:01:48 +00:00
dependabot[bot]
2f5af4d4a1
Bump github.com/pion/ice/v4 from 4.0.13 to 4.1.0
Bumps [github.com/pion/ice/v4](https://github.com/pion/ice) from 4.0.13 to 4.1.0.
- [Release notes](https://github.com/pion/ice/releases)
- [Commits](https://github.com/pion/ice/compare/v4.0.13...v4.1.0)

---
updated-dependencies:
- dependency-name: github.com/pion/ice/v4
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 20:01:43 +00:00
dependabot[bot]
47b51e804f
Bump the artifacts group with 2 updates
Bumps the artifacts group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 5 to 6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v5...v6)

Updates `actions/download-artifact` from 6 to 7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: artifacts
- dependency-name: actions/download-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-12 20:01:40 +00:00
Joachim Bauch
20d09941b9
Merge pull request #1153 from strukturag/fix-flaky-tests
Fix flaky tests that fail under load.
2025-12-11 11:21:36 +01:00
Joachim Bauch
550e40f322
Wait for events to be processed in tests before sending between sessions.
Fixes flaky "TestClientControlToSessionId" under load which could send to
a session before the events subscription was processed completely.
2025-12-11 11:17:20 +01:00
Joachim Bauch
18e41f243a
Also ignore "participants" events sent before room was joined.
Fix flaky "TestVirtualSessionCustomInCall" under load.
2025-12-11 11:02:36 +01:00
Joachim Bauch
78d74ea3ee
Start timer for anonymous sessions to join room before sending response.
Fixes flaky "TestExpectAnonymousJoinRoomAfterLeave" under load.
2025-12-11 11:02:32 +01:00
Joachim Bauch
8ed1f15b95
Merge pull request #1152 from strukturag/fix-subscriber-close-on-error
Close subscriber synchronously on errors.
2025-12-11 08:58:15 +01:00
Joachim Bauch
8371fbe9bf
Close subscriber synchronously on errors.
Otherwise it could happen that a re-subscribe request was still processed by
the (closing) old subscriber for which the deferred processing stopped. Such
requests would then timeout.

Could be triggered by the CI tests under load (e.g. Test_JanusSubscriberTimeout).
2025-12-11 08:51:58 +01:00
Joachim Bauch
d5edd53536
Merge pull request #1150 from strukturag/split-logging
Move logging code to separate package.
2025-12-10 14:32:32 +01:00
Joachim Bauch
62587796ce
Move logging code to separate package. 2025-12-09 15:26:47 +01:00
Joachim Bauch
67b557349d
Merge pull request #1149 from strukturag/parallelize-tests
Parallelize more tests.
2025-12-09 14:12:29 +01:00
Joachim Bauch
f52da04859
Use testing/synctest so Test_TransientData is not timing-dependent. 2025-12-09 13:31:51 +01:00
Joachim Bauch
16c37cb0ed
Ensure all client connections are closed when test ends. 2025-12-09 13:31:51 +01:00
Joachim Bauch
adb391ab5a
Stop transaction goroutine when removing. 2025-12-09 11:57:36 +01:00
Joachim Bauch
e13bca696b
Close client connections and wait for server before terminating test. 2025-12-09 11:42:02 +01:00
Joachim Bauch
65edf5c03a
Wait for hub housekeeping to finish before continuing tests. 2025-12-09 11:25:07 +01:00
Joachim Bauch
c533b039b2
"checkStatsValue" is now unused, but keep if needed in future. 2025-12-09 10:55:29 +01:00
Joachim Bauch
6f35e021f9
Use "t.Chdir" to directory is restored after test. 2025-12-09 10:55:12 +01:00
Joachim Bauch
f7b9224bda
The loopback NATS client can not leak goroutines. 2025-12-09 10:55:11 +01:00
Joachim Bauch
892dae6842
Run Janus subscriber stats tests in parallel. 2025-12-09 10:55:10 +01:00
Joachim Bauch
0960a714aa
Use "InDelta" to compare values where expected could be "0". 2025-12-09 10:55:10 +01:00
Joachim Bauch
415a49e04b
Run Janus bandwidth tests in parallel. 2025-12-09 10:55:09 +01:00
Joachim Bauch
964e9d2343
Allow running publisher stats tests in parallel. 2025-12-09 10:55:08 +01:00
Joachim Bauch
958f50cec3
Allow running backend configuration tests in parallel. 2025-12-09 10:55:07 +01:00
Joachim Bauch
b86d05de08
Allow running file watcher tests to run in parallel. 2025-12-05 12:15:26 +01:00
Joachim Bauch
9363049e0f
Allow running tests with mock DNS discovery to run in parallel. 2025-12-05 12:02:33 +01:00
Joachim Bauch
4243276698
Merge pull request #1145 from strukturag/linter-updates
Enable more linters
2025-12-05 11:42:33 +01:00
Joachim Bauch
efb90b4216
Add test for "internal.MakePtr". 2025-12-05 11:38:40 +01:00
Joachim Bauch
3178e0ee08
Move TestStorage to separate class for easier reuse. 2025-12-05 11:38:39 +01:00
Joachim Bauch
8510ce45f3
lint: Enable "testifylint" linter. 2025-12-05 11:13:10 +01:00
Joachim Bauch
d8d17734cb
Improve use of testify assertions. 2025-12-05 11:13:09 +01:00
Joachim Bauch
b8e0e5c2c1
lint: Enable "perfsprint" linter. 2025-12-05 11:13:09 +01:00
Joachim Bauch
f338a7b91e
Don't use string formatting without parameters, optimize simple cases. 2025-12-05 11:13:08 +01:00
Joachim Bauch
643c430e36
Use "testStorage" to store ping requests for parallel access. 2025-12-05 11:13:07 +01:00
Joachim Bauch
e0da0529ec
Don't call "t.Setenv" in synctest backport. 2025-12-05 11:09:02 +01:00
Joachim Bauch
f1781719e1
lint: Enable "paralleltest" linter. 2025-12-05 11:09:01 +01:00
Joachim Bauch
4986122493
Run tests in parallel where possible. 2025-12-05 11:09:01 +01:00
Joachim Bauch
c3c3f0bf75
lint: Enable "modernize" linter. 2025-12-05 11:09:00 +01:00
Joachim Bauch
e761ea071b
Use strings.Builder instead of looped string concatenation. 2025-12-05 11:09:00 +01:00
Joachim Bauch
697f659083
lint: Enable "gocritic" linter. 2025-12-05 11:08:59 +01:00
Joachim Bauch
6d3ff0c5ba
Silence error about previous defer not running after "log.Fatal". 2025-12-05 11:08:59 +01:00
Joachim Bauch
bcdf9af5eb
Remove trailing whitespace from key. 2025-12-05 11:08:58 +01:00
Joachim Bauch
5a6dfa0516
Fix comment format. 2025-12-05 11:08:58 +01:00
Joachim Bauch
f237458b35
Don't capitalize variable name. 2025-12-05 11:08:57 +01:00