----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40408/#review108787 -----------------------------------------------------------
sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestConcurrentClients.java (line 141) <https://reviews.apache.org/r/40408/#comment168268> should we move stmt.close() and connection.close() inside of finally? sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestConcurrentClients.java (line 163) <https://reviews.apache.org/r/40408/#comment168267> remove extral indention in line 163 and 166? sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestConcurrentClients.java (line 191) <https://reviews.apache.org/r/40408/#comment168269> How about use AtomicInteger which has better performance than synchrozied? - Li Li On Nov. 17, 2015, 11:06 p.m., Anne Yu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40408/ > ----------------------------------------------------------- > > (Updated Nov. 17, 2015, 11:06 p.m.) > > > Review request for sentry, Hao Hao, Li Li, Lenni Kuff, and Sravya > Tirukkovalur. > > > Bugs: SENTRY-906 > https://issues.apache.org/jira/browse/SENTRY-906 > > > Repository: sentry > > > Description > ------- > > Add concurrent jdbc and thrift client tests to ensure synchronization works > fine; > > > Diffs > ----- > > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/dbprovider/TestConcurrentClients.java > PRE-CREATION > > sentry-tests/sentry-tests-hive/src/test/java/org/apache/sentry/tests/e2e/hive/AbstractTestWithStaticConfiguration.java > cc5daef > > Diff: https://reviews.apache.org/r/40408/diff/ > > > Testing > ------- > > I can successfully run locally this test. > > > Thanks, > > Anne Yu > >
