You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Argument(s) are different! Wanted:
fileFactory.create(
"/usr/appinsights/docker/sdk.info",
"InstrumentationKey=A-test-instrumentation-key"
);
-> at com.microsoft.applicationinsights.extensibility.initializer.docker.DockerContextInitializerTests.testSDKInfoFileIsWrittenWithInstrumentationKey(DockerContextInitializerTests.java:133)
Actual invocation has different arguments:
fileFactory.create(
"/usr/appinsights/docker/sdk.info",
"InstrumentationKey=c9341531-05ac-4d8c-972e-36e97601d5ff"
);
A quick spelunking in the code suggests that the test might be sensitive to ordering since it [indirectly] accesses the TelemetryConfiguration singleton and its configuration wasn't loaded from the ApplicationInsights.xml test resource.
The text was updated successfully, but these errors were encountered:
olivierdagenais
changed the title
testSDKInfoFileIsWrittenWithInstrumentationKey test fails on Fedora Linux 22
testSDKInfoFileIsWrittenWithInstrumentationKey fails on Fedora Linux 22
Feb 13, 2016
@beckylino I haven't used this project in over a year. I had encountered this test failure when I was testing a fix for another issue and figured the maintainers might be interested to know some of the tests were unreliable. I don't currently have a Fedora Linux VM to test with, sorry.
I ran
gradlew test
on my Fedora 22 VM and one of the tests incore
failed:Class: com.microsoft.applicationinsights.extensibility.initializer.docker.DockerContextInitializerTests
Method: testSDKInfoFileIsWrittenWithInstrumentationKey
A quick spelunking in the code suggests that the test might be sensitive to ordering since it [indirectly] accesses the
TelemetryConfiguration
singleton and its configuration wasn't loaded from theApplicationInsights.xml
test resource.The text was updated successfully, but these errors were encountered: