gortiz commented on code in PR #11205:
URL: https://github.com/apache/pinot/pull/11205#discussion_r1277785384


##########
pinot-query-runtime/src/test/java/org/apache/pinot/query/runtime/operator/SortedMailboxReceiveOperatorTest.java:
##########
@@ -163,23 +163,11 @@ public void shouldTimeoutOnExtraLongSleep()
       MetadataBlock errorBlock = (MetadataBlock) mailbox.getDataBlock();
       
assertTrue(errorBlock.getExceptions().containsKey(QueryException.EXECUTION_TIMEOUT_ERROR_CODE));
     }
-
-    // Longer timeout or default timeout (10s) doesn't result in timeout
-    context =
-        OperatorTestUtil.getOpChainContext(_mailboxService, RECEIVER_ADDRESS, 
System.currentTimeMillis() + 10_000L,
-            _stageMetadata1);
-    try (SortedMailboxReceiveOperator receiveOp = new 
SortedMailboxReceiveOperator(context,
-        RelDistribution.Type.SINGLETON, DATA_SCHEMA, COLLATION_KEYS, 
COLLATION_DIRECTIONS, COLLATION_NULL_DIRECTIONS,
-        false, 1)) {
-      Thread.sleep(100L);
-      TransferableBlock mailbox = receiveOp.nextBlock();
-      assertFalse(mailbox.isErrorBlock());
-    }
   }
 
-  @Test
+  @Test(enabled = false)
   public void shouldReceiveSingletonNullMailbox() {
-    
when(_mailboxService.getReceivingMailbox(MAILBOX_ID_1)).thenReturn(_mailbox1);
+    
when(_mailboxService.getReceivingMailbox(eq(MAILBOX_ID_1))).thenReturn(_mailbox1);

Review Comment:
   Another test that I'm nto sure if we need to keep or not



-- 
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]

Reply via email to