Skip to content

Commit

Permalink
Disable test jaegertracing#2508
Browse files Browse the repository at this point in the history
Signed-off-by: Israel Blancas <[email protected]>
  • Loading branch information
iblancasa committed Mar 15, 2024
1 parent 48d6240 commit 2450991
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 50 deletions.
54 changes: 27 additions & 27 deletions tests/e2e/miscellaneous/cassandra-spark/01-assert.yaml.template
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
# Assert the Jaeger is up and running
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-spark-deps
spec:
replicas: 1
status:
readyReplicas: 1
---
# Assert the schema job was succeded
apiVersion: batch/v1
kind: Job
metadata:
name: test-spark-deps-cassandra-schema-job
status:
succeeded: 1
---
# Assert the spark job was succeded
apiVersion: batch/v1
kind: Job
metadata:
ownerReferences:
- kind: CronJob
name: test-spark-deps-spark-dependencies
status:
succeeded: 1
# # Assert the Jaeger is up and running
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: test-spark-deps
# spec:
# replicas: 1
# status:
# readyReplicas: 1
# ---
# # Assert the schema job was succeded
# apiVersion: batch/v1
# kind: Job
# metadata:
# name: test-spark-deps-cassandra-schema-job
# status:
# succeeded: 1
# ---
# # Assert the spark job was succeded
# apiVersion: batch/v1
# kind: Job
# metadata:
# ownerReferences:
# - kind: CronJob
# name: test-spark-deps-spark-dependencies
# status:
# succeeded: 1
46 changes: 23 additions & 23 deletions tests/e2e/miscellaneous/render.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@

source $(dirname "$0")/../render-utils.sh

###############################################################################
# TEST NAME: cassandra-spark
###############################################################################
if [ $IS_OPENSHIFT = true ]; then
skip_test "cassandra-spark" "Test not supported in OpenShift"
else
start_test "cassandra-spark"
# Create Cassandra instance and assert it
render_install_cassandra "00"
# Create the Jaeger instance
export JAEGER_NAME=test-spark-deps
export DEP_SCHEDULE=true
export CASSANDRA_MODE=prod
$GOMPLATE -f $TEMPLATES_DIR/cassandra-jaeger-install.yaml.template -o ./01-install.yaml

export CRONJOB_APIVERSION
if version_gt $KUBE_VERSION "1.24"; then
CRONJOB_APIVERSION="batch/v1"
else
CRONJOB_APIVERSION="batch/v1beta1"
fi
$GOMPLATE -f ./01-assert.yaml.template -o ./01-assert.yaml
fi
# ###############################################################################
# # TEST NAME: cassandra-spark
# ###############################################################################
# if [ $IS_OPENSHIFT = true ]; then
# skip_test "cassandra-spark" "Test not supported in OpenShift"
# else
# start_test "cassandra-spark"
# # Create Cassandra instance and assert it
# render_install_cassandra "00"
# # Create the Jaeger instance
# export JAEGER_NAME=test-spark-deps
# export DEP_SCHEDULE=true
# export CASSANDRA_MODE=prod
# $GOMPLATE -f $TEMPLATES_DIR/cassandra-jaeger-install.yaml.template -o ./01-install.yaml

# export CRONJOB_APIVERSION
# if version_gt $KUBE_VERSION "1.24"; then
# CRONJOB_APIVERSION="batch/v1"
# else
# CRONJOB_APIVERSION="batch/v1beta1"
# fi
# $GOMPLATE -f ./01-assert.yaml.template -o ./01-assert.yaml
# fi


###############################################################################
Expand Down

0 comments on commit 2450991

Please sign in to comment.