diff --git a/tests/dotnet/Dockerfile b/tests/dotnet/Dockerfile index 68f6d1c..9dacbec 100644 --- a/tests/dotnet/Dockerfile +++ b/tests/dotnet/Dockerfile @@ -12,5 +12,7 @@ FROM base AS final WORKDIR /app COPY --from=build /app/publish . +COPY newrelic.config . + # test by browsing to http://:/WeatherForecast ENTRYPOINT ["dotnet", "WeatherForecast.dll"] diff --git a/tests/dotnet/newrelic.config b/tests/dotnet/newrelic.config new file mode 100644 index 0000000..834f02b --- /dev/null +++ b/tests/dotnet/newrelic.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/tests/dotnet/test-specs.yml b/tests/dotnet/test-specs.yml index 781027b..b87f46f 100644 --- a/tests/dotnet/test-specs.yml +++ b/tests/dotnet/test-specs.yml @@ -6,6 +6,7 @@ scenarios: - helm install test-dotnet ./chart/ --set=scenarioTag="${SCENARIO_TAG}" -n default - sleep 5 - kubectl wait --for=condition=Ready -n default --all pods + - sleep 15 # give the agent time to connect - curl --fail-with-body $(minikube service test-app-dotnet-service --url -n default)/WeatherForecast tests: nrqls: