dapr/dapr
在 GitHub 查看[E2E] Fix Makefile to allow 'make test-e2e-all' to work on Windows + Minikube + MinGW + GitBash
Open
#865 建立於 2019年12月3日
P3area/release-enggood first issuekind/bugsize/XStriaged/resolved
描述
Current behavior
Issue: Windows + minikube + MinGW + GitBash + make (gets stuck)
asouza@ASOUZA-DESKTOP MINGW64 /c/Code/dapr/dapr (master)
$ make test-e2e-all
DAPR_TEST_NAMESPACE=dapr-tests DAPR_TEST_TAG=dev DAPR_TEST_REGISTRY=docker.io/artursouza DAPR_TEST_MINIKUBE_IP= go test -v -tags=e2e ./tests/e2e/...
Workaround: see how I had to manually run the same command but set the minikube ip for it to work. This seems to be a fix we need in order to get this make target to work on Windows + minikube.
asouza@ASOUZA-DESKTOP MINGW64 /c/Code/dapr/dapr (master)
DAPR_TEST_NAMESPACE=dapr-tests DAPR_TEST_TAG=dev DAPR_TEST_REGISTRY=docker.io/artursouza DAPR_TEST_MINIKUBE_IP="172.17.86.11" go test -v -tags=e2e ./tests/e2e/...
=== RUN TestBindings
--- PASS: TestBindings (1.55s)
PASS
ok github.com/dapr/dapr/tests/e2e/bindings 42.259s
=== RUN TestHelloDapr
=== RUN TestHelloDapr/green_dapr
=== RUN TestHelloDapr/blue_dapr
--- PASS: TestHelloDapr (0.52s)
--- PASS: TestHelloDapr/green_dapr (0.51s)
--- PASS: TestHelloDapr/blue_dapr (0.01s)
=== RUN TestScaleReplicas
--- PASS: TestScaleReplicas (6.01s)
=== RUN TestScaleAndRestartInstances
--- PASS: TestScaleAndRestartInstances (9.03s)
PASS
ok github.com/dapr/dapr/tests/e2e/hellodapr (cached)
=== RUN TestServiceInvocation
=== RUN TestServiceInvocation/Test_singlehop_for_callee-0
=== RUN TestServiceInvocation/Test_singlehop_for_callee-1
=== RUN TestServiceInvocation/Test_multihop
--- PASS: TestServiceInvocation (0.03s)
--- PASS: TestServiceInvocation/Test_singlehop_for_callee-0 (0.01s)
--- PASS: TestServiceInvocation/Test_singlehop_for_callee-1 (0.01s)
--- PASS: TestServiceInvocation/Test_multihop (0.01s)
PASS
ok github.com/dapr/dapr/tests/e2e/service_invocation (cached)
=== RUN TestServiceInvocation
=== RUN TestServiceInvocation/Test_get_save_delete_with_empty_request_response_for_single_app_and_single_hop
=== RUN TestServiceInvocation/Test_save_get_and_delete_a_single_item_for_single_app_and_single_hop
=== RUN TestServiceInvocation/Test_save_get_and_delete_on_multiple_items_for_single_app_and_single_hop
--- PASS: TestServiceInvocation (0.57s)
--- PASS: TestServiceInvocation/Test_get_save_delete_with_empty_request_response_for_single_app_and_single_hop (0.01s)
--- PASS: TestServiceInvocation/Test_save_get_and_delete_a_single_item_for_single_app_and_single_hop (0.02s)
--- PASS: TestServiceInvocation/Test_save_get_and_delete_on_multiple_items_for_single_app_and_single_hop (0.03s)
PASS
ok github.com/dapr/dapr/tests/e2e/stateapp 17.397s
? github.com/dapr/dapr/tests/e2e/utils [no test files]
Expected Behavior
The following command should execute all tests correctly on Windows + Minikube + MinGW + GitBash $ make test-e2e-all