[IMPROVED] Reduce contention for high connections in a JetStream enabled account with high API usage. #4613
Travis CI / Travis CI - Branch
succeeded
Sep 30, 2023 in 10m 17s
Build Passed
The build passed.
Details
This is a normal build for the contention branch. You should be able to reproduce it by checking out the branch locally.
Jobs and Stages
This build has 13 jobs, running in parallel.
Job | Go | ENV | OS | State |
---|---|---|---|---|
18783.1 | 1.21.x | Linux | passed | |
18783.2 | 1.20.x | Linux | passed | |
18783.3 Compile and various other checks | 1.21.x | TEST_SUITE=compile | Linux | passed |
18783.4 Run TestNoRace tests | 1.21.x | TEST_SUITE=no_race_tests | Linux | passed |
18783.5 Run JetStream tests | 1.21.x | TEST_SUITE=js_tests | Linux | passed |
18783.6 Run JetStream cluster tests (1) | 1.21.x | TEST_SUITE=js_cluster_tests_1 | Linux | passed |
18783.7 Run JetStream cluster tests (2) | 1.21.x | TEST_SUITE=js_cluster_tests_2 | Linux | passed |
18783.8 Run JetStream cluster tests (3) | 1.21.x | TEST_SUITE=js_cluster_tests_3 | Linux | passed |
18783.9 Run JetStream super cluster tests | 1.21.x | TEST_SUITE=js_super_cluster_tests | Linux | passed |
18783.10 Run MQTT tests | 1.21.x | TEST_SUITE=mqtt_tests | Linux | passed |
18783.11 Run non JetStream/MQTT tests from the server package | 1.21.x | TEST_SUITE=srv_pkg_non_js_tests | Linux | passed |
18783.12 Run all tests from all other packages | 1.21.x | TEST_SUITE=non_srv_pkg_tests | Linux | passed |
18783.13 Compile with older Go release | 1.20 | TEST_SUITE=build_only | Linux | passed |
Build Configuration
Build Option | Setting |
---|---|
Language | Go |
Operating System | Linux (Focal) |
Go Versions | 1.21.x, 1.20.x |
Build Configuration
{
"language": "go",
"os": [
"linux"
],
"dist": "focal",
"vm": {
"size": "2x-large"
},
"go": [
"1.21.x",
"1.20.x"
],
"go_import_path": "github.com/nats-io/nats-server",
"addons": {
"apt": {
"packages": [
"rpm"
]
}
},
"jobs": {
"include": [
{
"name": "Compile and various other checks",
"env": [
{
"TEST_SUITE": "compile"
}
]
},
{
"name": "Run TestNoRace tests",
"env": [
{
"TEST_SUITE": "no_race_tests"
}
]
},
{
"name": "Run JetStream tests",
"env": [
{
"TEST_SUITE": "js_tests"
}
]
},
{
"name": "Run JetStream cluster tests (1)",
"env": [
{
"TEST_SUITE": "js_cluster_tests_1"
}
]
},
{
"name": "Run JetStream cluster tests (2)",
"env": [
{
"TEST_SUITE": "js_cluster_tests_2"
}
]
},
{
"name": "Run JetStream cluster tests (3)",
"env": [
{
"TEST_SUITE": "js_cluster_tests_3"
}
]
},
{
"name": "Run JetStream super cluster tests",
"env": [
{
"TEST_SUITE": "js_super_cluster_tests"
}
]
},
{
"name": "Run MQTT tests",
"env": [
{
"TEST_SUITE": "mqtt_tests"
}
]
},
{
"name": "Run non JetStream/MQTT tests from the server package",
"env": [
{
"TEST_SUITE": "srv_pkg_non_js_tests"
}
]
},
{
"name": "Run all tests from all other packages",
"env": [
{
"TEST_SUITE": "non_srv_pkg_tests"
}
]
},
{
"name": "Compile with older Go release",
"go": "1.20",
"env": [
{
"TEST_SUITE": "build_only"
}
]
}
]
},
"script": [
"./scripts/runTestsOnTravis.sh $TEST_SUITE"
],
"deploy": [
{
"provider": "script",
"cleanup": true,
"script": "curl -sL http://git.io/goreleaser | bash",
"on": {
"tags": true,
"condition": [
"($TRAVIS_GO_VERSION =~ 1.21) && ($TEST_SUITE = \"compile\")"
]
}
}
]
}