commit
d25251e374
3 changed files with 60 additions and 10 deletions
43
.github/workflows/test.yml
vendored
Normal file
43
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
name: "Tests"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v6
|
||||
with:
|
||||
go-version: "1.25"
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v6
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install Python dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Test core
|
||||
working-directory: core
|
||||
run: go test -v -count=1 -skip 'Stress' ./...
|
||||
|
||||
- name: Test extras
|
||||
working-directory: extras
|
||||
run: go test -v -count=1 ./...
|
||||
|
||||
- name: Test app
|
||||
working-directory: app
|
||||
run: go test -v -count=1 ./...
|
||||
|
|
@ -487,7 +487,9 @@ func (b *bbrSender) OnRetransmissionTimeout(packetsRetransmitted bool) {
|
|||
|
||||
// SetMaxDatagramSize implements the SendAlgorithm interface.
|
||||
func (b *bbrSender) SetMaxDatagramSize(s congestion.ByteCount) {
|
||||
b.debugPrint("Max Datagram Size: %d", s)
|
||||
if b.debug {
|
||||
b.debugPrint("Max Datagram Size: %d", s)
|
||||
}
|
||||
if s < b.maxDatagramSize {
|
||||
panic(fmt.Sprintf("congestion BUG: decreased max datagram size from %d to %d", b.maxDatagramSize, s))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,16 @@
|
|||
blinker==1.8.2
|
||||
cffi==1.17.0
|
||||
click==8.1.7
|
||||
cryptography==43.0.0
|
||||
Flask==3.0.3
|
||||
blinker==1.9.0
|
||||
certifi==2026.2.25
|
||||
cffi==2.0.0
|
||||
charset-normalizer==3.4.6
|
||||
click==8.3.1
|
||||
cryptography==46.0.6
|
||||
Flask==3.1.3
|
||||
idna==3.11
|
||||
itsdangerous==2.2.0
|
||||
Jinja2==3.1.4
|
||||
MarkupSafe==2.1.5
|
||||
pycparser==2.22
|
||||
Jinja2==3.1.6
|
||||
MarkupSafe==3.0.3
|
||||
pycparser==3.0
|
||||
PySocks==1.7.1
|
||||
Werkzeug==3.0.4
|
||||
requests==2.33.0
|
||||
urllib3==2.6.3
|
||||
Werkzeug==3.1.7
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue