Skip to content

Instantly share code, notes, and snippets.

@msau42
Created May 10, 2018 01:25
Show Gist options
  • Save msau42/1c29075fb5fce56ac884d58034d27dc4 to your computer and use it in GitHub Desktop.
Save msau42/1c29075fb5fce56ac884d58034d27dc4 to your computer and use it in GitHub Desktop.
VolumeBindingStress debugging
function run_int() {
#make test-integration WHAT=./test/integration/scheduler GO_FLAGS="-v" KUBE_TEST_ARGS="-run ^TestVolumeBinding$"
make test-integration WHAT=./test/integration/scheduler GOFLAGS="-v" KUBE_TEST_ARGS="-run ^TestVolumeBindingStress$" KUBE_TEST_VMODULE="scheduler*=5,pv*=5"
#make test-integration WHAT=./test/integration/scheduler GO_FLAGS="-v" KUBE_TEST_ARGS="-run ^TestPVAffinityConflict$"
}
function run_int_fail() {
i=0
while run_int > /tmp/int.log.$i;
do
let i=i+1
echo "Running iteration $i"
done
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment