java-docs-samples icon indicating copy to clipboard operation
java-docs-samples copied to clipboard

test: add got to assertion message

Open olavloite opened this issue 3 years ago • 1 comments

Adds the actual change text that was received to the assertion message so the log will contain a hint as to why the test seems to be flaky.

cc @Neenu1995 @haikuo-google

Updates #7165

olavloite avatar Jun 14 '22 11:06 olavloite

@haikuo-google The change that we receive now has a small difference with what was (initially) expected. The test case expects oldValuesJson='', while the actual value is oldValuesJson='{}'. (I.e. initially we expected an empty string, now we get an empty JSON object).

Is this change in behavior expected?

olavloite avatar Jun 16 '22 06:06 olavloite