Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@
import lombok.SneakyThrows;
import lombok.val;
import org.apache.arrow.vector.util.Text;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

@ExtendWith(HyperTestBase.class)
public class DataCloudConnectionFunctionalTest {
@Test
@Disabled // This test is too slow, executing for 2 minutes
public void testNetworkTimeoutDefault() throws SQLException {
// Verify that by default no deadline is set
HyperLogScope hyperLogScope = new HyperLogScope();
Expand All @@ -45,6 +47,7 @@ public void testNetworkTimeoutDefault() throws SQLException {
}

@Test
@Disabled // This test is too slow, executing for 2 minutes
public void testNetworkTimeoutPropagatesToServer() throws SQLException {
// Verify that when network timeout is set a corresponding deadline is set on the gRPC call level
HyperLogScope hyperLogScope = new HyperLogScope();
Expand All @@ -70,6 +73,7 @@ public void testNetworkTimeoutPropagatesToServer() throws SQLException {

@Test
@SneakyThrows
@Disabled // This test is too slow, executing for 2 minutes
public void testNetworkTimeoutIsPerGrpcCall() {
// This is a regression test as we previously had set the deadline on the stub which results in a deadline
// across all calls made on that stub. While the desired network timeout behavior is that it should
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import java.sql.Statement;
import java.time.Duration;
import java.util.Properties;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.extension.ExtendWith;

Expand Down Expand Up @@ -83,6 +84,7 @@ void testServerQueryTimeoutIsHandledCorrectly() throws SQLException {
}

@Test
@Disabled // This test is too slow, executing for 2 minutes
void testNetworkTimeoutDoesntInterfereWithLocalEnforcement() throws SQLException {
// Both local enforcement and network timeout integrate with the gRPC deadline mechanism.
// This test verifies that they don't interfere with each other. If the local enforcement
Expand Down
Loading