pulumi: disable flaky test TestPendingDeleteOrder

This commit is contained in:
Vincent Haupert 2022-12-14 09:53:04 +01:00
parent e16b45e834
commit 0227ca4e88

View File

@ -43,6 +43,11 @@ buildGoModule rec {
doCheck = true;
disabledTests = [
# Flaky test
"TestPendingDeleteOrder"
];
checkInputs = [
git
];
@ -63,6 +68,9 @@ buildGoModule rec {
# Code generation tests also download dependencies from network
rm codegen/{docs,dotnet,go,nodejs,python,schema}/*_test.go
rm -R codegen/{dotnet,go,nodejs,python}/gen_program_test
# Only run tests not marked as disabled
buildFlagsArray+=("-run" "[^(${lib.concatStringsSep "|" disabledTests})]")
'' + lib.optionalString stdenv.isDarwin ''
export PULUMI_HOME=$(mktemp -d)
'';