Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure message not escaped #54

Open
stephanos opened this issue Oct 30, 2024 · 0 comments
Open

Failure message not escaped #54

stephanos opened this issue Oct 30, 2024 · 0 comments

Comments

@stephanos
Copy link

I've noticed that my test summary looked like this (link):

Screenshot 2024-10-29 at 7 53 36 PM

It's because the XML looks like this:

<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="620" failures="2" errors="0" time="921.416626">
	<testsuite tests="620" failures="2" time="801.689000" name="go.temporal.io/server/tests" timestamp="2024-10-30T00:37:26Z">
		<properties>
			<property name="go.version" value="go1.23.2 linux/amd64"></property>
		</properties>
		<testcase classname="go.temporal.io/server/tests" name="TestActivityTestSuite/TestActivityHeartBeatWorkflow_Success" time="592.310000">
			<failure message="Failed" type="">=== RUN   TestActivityTestSuite/TestActivityHeartBeatWorkflow_Success&#xA;    functional_test_base.go:235: Running TestActivityTestSuite/TestActivityHeartBeatWorkflow_Success in test shard 2/3&#xA;2024-10-30T00:42:34.206Z&#x9;info&#x9;StartWorkflowExecution&#x9;{&#34;wf-run-id&#34;: &#34;92cb9ee1-3aa5-43d9-8955-1474dbfc363e&#34;, &#34;logging-call-at&#34;: 

I suppose it's because of the &#xA;? This XML was generated by https://github.com/gotestyourself/gotestsum, for what it's worth.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant