Commit graph

2,290 commits

Author SHA1 Message Date
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
Joachim Bauch
dd01d98553
Simplify and use range over integer. 2025-12-05 11:08:57 +01:00
Joachim Bauch
57b6b326c0
Simplify string concatenation. 2025-12-05 11:08:56 +01:00
Joachim Bauch
9d07a852a9
Rewrite long if-else chains as switch statements. 2025-12-05 11:08:56 +01:00
Joachim Bauch
694297a6f4
Fix ordering of case statements (found by "gocritic"). 2025-12-05 11:08:55 +01:00
Joachim Bauch
f795bf303d
lint: Enable "exptostd" to detect future std library features. 2025-12-05 11:08:54 +01:00
Joachim Bauch
c581bc14d5
lint: Enable "errchkjson" and update json.Marshal error handling. 2025-12-05 11:08:54 +01:00
Joachim Bauch
98060d48cb
lint: Enable "nilness" check in govet. 2025-12-05 11:08:53 +01:00
Joachim Bauch
55d776d110
Remove unnecessary nil check. 2025-12-05 11:08:52 +01:00
Joachim Bauch
b1c18c7207
lint: Check spelling using "misspell". 2025-12-05 11:08:51 +01:00
Joachim Bauch
55bafac6b7
Fix spelling errors. 2025-12-05 11:08:51 +01:00
Joachim Bauch
66b3049cfc
Merge pull request #1146 from strukturag/dependabot/go_modules/github.com/pion/ice/v4-4.0.13
Bump github.com/pion/ice/v4 from 4.0.12 to 4.0.13
2025-12-04 22:11:22 +01:00
dependabot[bot]
5afa838ee8
Bump github.com/pion/ice/v4 from 4.0.12 to 4.0.13
Bumps [github.com/pion/ice/v4](https://github.com/pion/ice) from 4.0.12 to 4.0.13.
- [Release notes](https://github.com/pion/ice/releases)
- [Commits](https://github.com/pion/ice/compare/v4.0.12...v4.0.13)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-04 20:01:43 +00:00
Joachim Bauch
cc934c8b85
Merge pull request #1144 from strukturag/dependabot/github_actions/golangci/golangci-lint-action-9.2.0
Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
2025-12-04 08:17:00 +01:00
dependabot[bot]
5893fedef4
Bump golangci/golangci-lint-action from 9.1.0 to 9.2.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v9.1.0...v9.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-version: 9.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-03 20:01:54 +00:00