Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Mar 5, 2024
1 parent 43e0e5c commit 82f7666
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 88 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# under the License.
#
---
name: Build Extensions
name: Build Connector
on:
pull_request:
push:

jobs:
build-extension:
name: "Build Extensions"
name: "Build Connector"
runs-on: ubuntu-latest
defaults:
run:
Expand Down
82 changes: 41 additions & 41 deletions .github/workflows/run-e2ecase-12.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
#---
#name: Run E2ECases 1.2
#on:
# pull_request:
# push:
#
# http://www.apache.org/licenses/LICENSE-2.0
#jobs:
# build-extension:
# name: "Run E2ECases 1.2"
# runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# steps:
# - name: Checkout
# uses: actions/checkout@master
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# - name: Setup java
# uses: actions/setup-java@v2
# with:
# distribution: adopt
# java-version: '8'
#
# - name: Run E2ECases
# run: |
# cd flink-doris-connector && mvn test -Dtest="*E2ECase" -Dimage="adamlee489/doris:1.2.7.1_x86"
#
---
name: Run E2ECases 1.2
on:
pull_request:
push:

jobs:
build-extension:
name: "Run E2ECases 1.2"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup java
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: '8'

- name: Run E2ECases
run: |
cd flink-doris-connector && mvn test -Dtest="*E2ECase" -Dimage="adamlee489/doris:1.2.7.1_x86"
82 changes: 41 additions & 41 deletions .github/workflows/run-itcase-12.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,44 @@
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
## Licensed to the Apache Software Foundation (ASF) under one
## or more contributor license agreements. See the NOTICE file
## distributed with this work for additional information
## regarding copyright ownership. The ASF licenses this file
## to you under the Apache License, Version 2.0 (the
## "License"); you may not use this file except in compliance
## with the License. You may obtain a copy of the License at
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing,
## software distributed under the License is distributed on an
## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
## KIND, either express or implied. See the License for the
## specific language governing permissions and limitations
## under the License.
##
#---
#name: Run ITCases 1.2
#on:
# pull_request:
# push:
#
# http://www.apache.org/licenses/LICENSE-2.0
#jobs:
# build-extension:
# name: "Run ITCases 1.2"
# runs-on: ubuntu-latest
# defaults:
# run:
# shell: bash
# steps:
# - name: Checkout
# uses: actions/checkout@master
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# - name: Setup java
# uses: actions/setup-java@v2
# with:
# distribution: adopt
# java-version: '8'
#
# - name: Run ITCases
# run: |
# cd flink-doris-connector && mvn test -Dtest="*ITCase" -Dimage="adamlee489/doris:1.2.7.1_x86"
#
---
name: Run ITCases 1.2
on:
pull_request:
push:

jobs:
build-extension:
name: "Run ITCases 1.2"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@master

- name: Setup java
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: '8'

- name: Run ITCases
run: |
cd flink-doris-connector && mvn test -Dtest="*ITCase" -Dimage="adamlee489/doris:1.2.7.1_x86"
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ protected static String getFenodes() {

@BeforeClass
public static void startContainers() {
LOG.info("Starting containers...");
LOG.info("Starting doris containers...");
Startables.deepStart(Stream.of(DORIS_CONTAINER)).join();
given().ignoreExceptions()
.await()
.atMost(300, TimeUnit.SECONDS)
.pollInterval(ONE_SECOND)
.untilAsserted(DorisTestBase::initializeJdbcConnection);
LOG.info("Containers are started.");
LOG.info("Containers doris are started.");
}

@AfterClass
public static void stopContainers() {
LOG.info("Stopping containers...");
LOG.info("Stopping doris containers...");
DORIS_CONTAINER.stop();
LOG.info("Containers are stopped.");
LOG.info("Containers doris are stopped.");
}

public static GenericContainer createDorisContainer() {
Expand Down

0 comments on commit 82f7666

Please sign in to comment.