Merge pull request #297802 from r-ryantm/auto-update/toxiproxy

toxiproxy: 2.6.0 -> 2.9.0
This commit is contained in:
Nick Cao 2024-03-22 11:35:36 -04:00 committed by GitHub
commit 6a2bb99271
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,16 +7,16 @@
buildGoModule rec { buildGoModule rec {
pname = "toxiproxy"; pname = "toxiproxy";
version = "2.6.0"; version = "2.9.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "Shopify"; owner = "Shopify";
repo = "toxiproxy"; repo = "toxiproxy";
rev = "v${version}"; rev = "v${version}";
sha256 = "sha256-wa39RsopmENXNEI5kiNIYSLGi/qGwIEfNVKWhAgVOuE="; sha256 = "sha256-zwKeJ8LMMSSHvE0x0/9j3wBdAJG43RiGcszKz0B3dG8=";
}; };
vendorHash = "sha256-m6jZOVlJI3GGqCsCkMAIB2jg1Nk8oAELyzL3y4b2nqA="; vendorHash = "sha256-eSQvLsSWWypA5vXR/GiEf5j7TzzsL8ZFRPOeICsIrlY=";
excludedPackages = [ "test/e2e" ]; excludedPackages = [ "test/e2e" ];
@ -25,7 +25,10 @@ buildGoModule rec {
# Fixes tests on Darwin # Fixes tests on Darwin
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
checkFlags = [ "-short" "-skip=TestVersionEndpointReturnsVersion" ]; checkFlags = [
"-short"
"-skip=TestVersionEndpointReturnsVersion|TestFullstreamLatencyBiasDown"
];
postInstall = '' postInstall = ''
mv $out/bin/cli $out/bin/toxiproxy-cli mv $out/bin/cli $out/bin/toxiproxy-cli