Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxj959 committed Oct 23, 2024
1 parent ceede2e commit 304f560
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@

@TestMethodOrder(MethodOrderer.MethodName.class)
@DolphinScheduler(composeFiles = {"docker/cluster-test/docker-compose-api.yaml",
"docker/cluster-test/docker-compose-master.yaml", "docker/cluster-test/docker-compose-worker.yaml"})
"docker/cluster-test/docker-compose-master.yaml", "docker/cluster-test/docker-compose-worker.yaml",
"docker/cluster-test/docker-compose-zk.yaml"})
@DisableIfTestFails
public class ClusterShellTaskE2ETest extends BaseWorkflowE2ETest {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
#
# 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.
#

version: "3.8"

services:
dolphinscheduler-zookeeper:
image: bitnami/zookeeper:3.7.1
profiles: [ "all" ]
environment:
ALLOW_ANONYMOUS_LOGIN: "yes"
ZOO_4LW_COMMANDS_WHITELIST: srvr,ruok,wchs,cons
volumes:
- dolphinscheduler-zookeeper:/bitnami/zookeeper
healthcheck:
test: [ "CMD", "bash", "-c", "cat < /dev/null > /dev/tcp/127.0.0.1/2181" ]
interval: 5s
timeout: 60s
retries: 120
networks:
e2e:

0 comments on commit 304f560

Please sign in to comment.