From 0b6c45613a5e044a569ba981a63afca5642a1730 Mon Sep 17 00:00:00 2001 From: Sergey Chernov Date: Fri, 21 Jun 2024 00:25:19 -0700 Subject: [PATCH] fix nightly build --- .github/workflows/nightly.yml | 4 ++-- .../src/test/java/com/clickhouse/client/ProxyTests.java | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c001b9ead..e163591f5 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -79,5 +79,5 @@ jobs: maven_args: -q --batch-mode -Dr2dbc-spi.version=0.9.1.RELEASE gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} gpg_passphrase: ${{ secrets.GPG_PASSPHRASE }} - nexus_username: ${{ secrets.SONATYPE_USER }} - nexus_password: ${{ secrets.SONATYPE_PASSWD }} + nexus_username: ${{ secrets.SONATYPE_TOKEN_USER }} + nexus_password: ${{ secrets.SONATYPE_TOKEN }} diff --git a/client-v2/src/test/java/com/clickhouse/client/ProxyTests.java b/client-v2/src/test/java/com/clickhouse/client/ProxyTests.java index 136e6ff40..2b5d602e1 100644 --- a/client-v2/src/test/java/com/clickhouse/client/ProxyTests.java +++ b/client-v2/src/test/java/com/clickhouse/client/ProxyTests.java @@ -33,7 +33,7 @@ public class ProxyTests extends BaseIntegrationTest{ ToxiproxyClient toxiproxyClient = null; Proxy proxy = null; - @BeforeMethod(groups = { "integration" }, enabled = true) + @BeforeMethod(groups = { "integration" }, enabled = false) public void setUp() throws IOException { ClickHouseNode node = getServer(ClickHouseProtocol.HTTP); toxiproxy = new ToxiproxyContainer(ClickHouseServerForTest.getProxyImage()) @@ -54,7 +54,7 @@ public void setUp() throws IOException { .build(); } - @AfterMethod(groups = { "integration" }, enabled = true) + @AfterMethod(groups = { "integration" }, enabled = false) public void teardown() { if (toxiproxy != null) { toxiproxy.stop(); @@ -70,7 +70,7 @@ private void createTable(String tableQuery) throws ClickHouseException { } - @Test(groups = { "integration" }, enabled = true) + @Test(groups = { "integration" }, enabled = false) public void simpleProxyTest() throws Exception { String tableName = "simple_pojo_enable_proxy_table"; String createSQL = SamplePOJO.generateTableCreateSQL(tableName); @@ -93,7 +93,7 @@ public void simpleProxyTest() throws Exception { assertTrue(metrics.getMetric(ClientMetrics.OP_SERIALIZATION).getLong() > 0); } - @Test(groups = { "integration" }, enabled = true) + @Test(groups = { "integration" }, enabled = false) public void simpleDisabledProxyTest() throws Exception { String tableName = "simple_pojo_disable_proxy_table"; String createSQL = SamplePOJO.generateTableCreateSQL(tableName);