-
Notifications
You must be signed in to change notification settings - Fork 46
error: 1061: orphan end test #61
Comments
Thanks @tej24 . Can you give me a bit more information? |
@tebeka go version go1.9.5 linux/amd64 |
Thanks @tej24, The output of |
@tebeka I'm getting the same error with some of our testcases. Maybe it's related to that some of our testcases print something in json format to the console? I ran:
to generate the output: output.txt. When I pass it to
I get the error:
and the output file is empty.
|
IMO the test output is truncated. The first line in |
@tebeka yes, sorry, you are right. In the attached The Attached is the output from another test run, where go2xunit fails to parse it with the error:
If required I can provide more examples. |
Thanks. Will have a look soon. |
Yes, those tests were using t.parallel |
I am also hitting this error when I have fmt.Print for output instead of fmt.Println go version go1.10.3 linux/amd64 |
Sorry for the slow updates. I'll try to solved this soon. |
I am seeing this problem, too. I have tests that are not using T.Parallel, but do test a gin based web service. Running my tests gives debug output from gin, along the lines of:
|
Thanks @kelbyers, can you provide the input to |
Sorry about the delay. In trying to get some data for you, we discovered that our test had some debug output that was printing as control characters, instead of taking an int and printing it as a string. It may well be a problem with our tests. |
We are facing issue while running the below command for go2xunit package, since a month
command : go test -v $PKGS | $GOPATH/bin/go2xunit
error snippet
root@****:# go test -v $PKGS | $GOPATH/bin/go2xunit -output tests.xml
error: 1044: orphan end test
root@*****:# go test -v $PKGS | $GOPATH/bin/go2xunit - (should output to console, but none)
error: 1036: orphan end test
*error snippet
go2xunit package version - 1.4.8
The text was updated successfully, but these errors were encountered: