pvary commented on code in PR #3103:
URL: https://github.com/apache/hive/pull/3103#discussion_r890995074
##########
ql/src/test/org/apache/hadoop/hive/ql/lockmgr/TestDbTxnManager2.java:
##########
@@ -2429,7 +2433,7 @@ private void testConcurrent2MergeUpdatesConflict(boolean
slowCompile) throws Exc
List<String> res = new ArrayList<>();
driver.getFetchTask().fetch(res);
Assert.assertEquals(2, res.size());
- Assert.assertEquals("Lost Update", "[earl\t10, amy\t10]", res.toString());
+ Assert.assertTrue("Lost Update", isEqualCollection(res, asList("earl\t10",
"amy\t10")));
Review Comment:
nit: Why not `Assert.assertArrayEquals`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]