Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

Add user-friendly error message for "Unable to find instrumentation info".#88

Merged
arturdryomov merged 2 commits intomasterfrom
az/friendly-unable-to-find-instrumentation-info
Jul 26, 2017
Merged

Add user-friendly error message for "Unable to find instrumentation info".#88
arturdryomov merged 2 commits intomasterfrom
az/friendly-unable-to-find-instrumentation-info

Conversation

@artem-zinnatullin
Copy link
Copy Markdown
Collaborator

Should help users resolve the issue much more quickly rather than staring at weird NumberFormatException.

See #79.

Copy link
Copy Markdown
Contributor

@dmitry-novikov dmitry-novikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For some reason your test is not working on CI.

@artem-zinnatullin
Copy link
Copy Markdown
Collaborator Author

Interesting, they pass for me locally (macOS, Docker 17.06.1-ce-rc1-mac20 (18682)): ci/build.sh, can you please try on macOS and Linux?

@dmitry-novikov
Copy link
Copy Markdown
Contributor

Failed on my Arch Linux:

Failures (1):
  Spek:com.gojuno.composer.InstrumentationSpec:context read output with unable to find instrumentation info error
    => java.lang.NullPointerException

@artem-zinnatullin
Copy link
Copy Markdown
Collaborator Author

hmm, what is the line of source code that causes it? For some reason JUnit5 does not print that atm

@dmitry-novikov
Copy link
Copy Markdown
Contributor

@artem-zinnatullin, did you forget to commit instrumentation-output-unable-to-find-instrumentation-info.txt file?

@artem-zinnatullin
Copy link
Copy Markdown
Collaborator Author

Holy shit, it was broken .gitignore! Thanks @dmitry-novikov! (tak hochetsya napisat "dan", eh)

Comment thread .gitignore
npm-debug.log*
test/
composer/src/main/resources/html-report/
/test/
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This ignored all test folders, even subfolders

@artem-zinnatullin
Copy link
Copy Markdown
Collaborator Author

artem-zinnatullin commented Jul 26, 2017 via email

@arturdryomov arturdryomov merged commit 41f836c into master Jul 26, 2017
@arturdryomov arturdryomov deleted the az/friendly-unable-to-find-instrumentation-info branch July 26, 2017 11:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants