Hold only successful Channel Edit completion delivery in the Windows test harness. Verify the first edit and replacement independently on disposable beta14, then assert old delivery leaves the busy replacement presentation unchanged. Share the private fixture runner across the channel edit and bandwidth smokes, and record the live receipt.
3.1 KiB
Windows beta14 server bandwidth settings
The focused Slint test passed on Windows with TeamSpeak Server 6.0.0-beta14, two disposable muted guests, classic file transfer, and an additional b_virtualserver_modify_ft_settings grant for the fixture guest group. Bootstrap WebQuery checked the finite seed, then shut down before the guest scenario. The replacement server was verified to listen only on 127.0.0.1 UDP 19987 and TCP 30053, with public listing off and Query disabled. There were no file transfers, and no rate limiting or throughput was measured.
Passing snapshots
The peer values below came from independent native server_info requests. Both inputs also matched those values when the initiating guest reopened the editor after each operation. Each invalid submission was isolated to its field: -1 and 9,007,199,254,740,992 retained their respective drafts and produced field errors; the other input retained its baseline without an error. The editor's declared range is 0 through 9,007,199,254,740,991 inclusive. The test refused to substitute a default for a missing or unlimited baseline.
| Stage | Download (bytes/s) | Upload (bytes/s) |
|---|---|---|
| Bootstrap and first peer read | 1,048,576 | 2,097,152 |
| After cancel | 1,048,576 | 2,097,152 |
| Download only | 3,145,728 | 2,097,152 |
| Restored | 1,048,576 | 2,097,152 |
| Upload only | 1,048,576 | 4,194,304 |
| Restored | 1,048,576 | 2,097,152 |
| Both fields | 3,145,728 | 4,194,304 |
| Restored | 1,048,576 | 2,097,152 |
The test reported 1 passed, 0 failed, 811 filtered out, in 143.97 s. The runner reported shutdown and private runtime removal. An independent post-run check found zero UDP listeners on 19987, zero TCP listeners on 30053 and 19080, and zero matching private bandwidth runtime directories.
Reproduce
From a worktree path without spaces in Windows PowerShell, point TEAMSPEACH_BETA14_RELEASE at a separately staged Windows beta14 release containing tsserver.exe, its DLLs, sql/ and serverquerydocs/. Set LK_CUSTOM_WEBRTC to the pinned custom WebRTC build. The three fixture ports must be free. The checked-in runner creates an owner-only runtime, generates an ephemeral bootstrap key, seeds both limits, runs just the focused test, then stops the server and removes the runtime. No existing server profile, credentials, or executables are stored in this repository.
$env:TEAMSPEACH_BETA14_RELEASE = 'C:/path/to/staged/beta14/release'
$env:LK_CUSTOM_WEBRTC = 'C:/path/to/pinned/webrtc'
$env:CARGO_TARGET_DIR = Join-Path $PWD 'target/cargo-bandwidth'
$runner = (Resolve-Path 'native/tests/fixtures/beta14-server-admin.ps1').Path
$env:CARGO_TARGET_X86_64_PC_WINDOWS_MSVC_RUNNER = "powershell.exe -NoProfile -ExecutionPolicy Bypass -File $runner"
cargo test --offline --locked --target x86_64-pc-windows-msvc -p teamspeach-native --no-default-features --features webrtc,test-harness --lib -- --include-ignored --test-threads=1 --nocapture --exact smoke::tabs::server_capacity::server_transfer_bandwidth_roundtrip_on_beta14