You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gj...@apache.org on 2020/11/20 15:02:28 UTC
[phoenix] branch 4.x updated: PHOENIX-6230: IT suite hangs on
ViewConcurrencyAndFailureIT
This is an automated email from the ASF dual-hosted git repository.
gjacoby pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.x by this push:
new 3246b6c PHOENIX-6230: IT suite hangs on ViewConcurrencyAndFailureIT
3246b6c is described below
commit 3246b6c425715ec699c0c5e7bab750a826e61d10
Author: Chinmay Kulkarni <ch...@gmail.com>
AuthorDate: Thu Nov 19 19:31:11 2020 -0800
PHOENIX-6230: IT suite hangs on ViewConcurrencyAndFailureIT
---
.../org/apache/phoenix/end2end/ViewConcurrencyAndFailureIT.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewConcurrencyAndFailureIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewConcurrencyAndFailureIT.java
index 4383307..f69f217 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewConcurrencyAndFailureIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/ViewConcurrencyAndFailureIT.java
@@ -113,7 +113,8 @@ public class ViewConcurrencyAndFailureIT extends SplitSystemCatalogIT {
}
// name is used by failsafe as file name in reports
- @Parameters(name="ViewIT_transactionProvider={0}, columnEncoded={1}")
+ @Parameters(name="ViewConcurrencyAndFailureIT_transactionProvider={0}, "
+ + "columnEncoded={1}")
public static synchronized Collection<Object[]> data() {
return TestUtil.filterTxParamData(Arrays.asList(new Object[][] {
{ "TEPHRA", false }, { "TEPHRA", true },
@@ -629,7 +630,7 @@ public class ViewConcurrencyAndFailureIT extends SplitSystemCatalogIT {
Future<Exception> future = executorService.submit(
new CreateViewRunnable(fullTableName, fullViewName1));
// wait till the thread makes the rpc to add the column
- boolean result = latch1.await(20, TimeUnit.MINUTES);
+ boolean result = latch1.await(2, TimeUnit.MINUTES);
if (!result) {
fail("The create view rpc look too long");
}
@@ -727,7 +728,7 @@ public class ViewConcurrencyAndFailureIT extends SplitSystemCatalogIT {
try {
// wait till the second task is complete before
// completing the first task
- boolean result = latch2.await(20, TimeUnit.MINUTES);
+ boolean result = latch2.await(2, TimeUnit.MINUTES);
if (!result) {
throw new RuntimeException("Second task took too "
+ "long to complete");