Skip to content

Commit

Permalink
Adding license header to the files
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbdias committed Jun 22, 2023
1 parent d2d9d06 commit 32c0e72
Show file tree
Hide file tree
Showing 10 changed files with 42 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Test
spec:
id: add-product
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Test
spec:
id: checkout-shopping-cart
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/business-tests/user-purchase.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Transaction
spec:
id: user-purchase-product
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/cli-config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

scheme: http
endpoint: localhost:11633
analyticsEnabled: false
15 changes: 15 additions & 0 deletions test/tracetesting/run.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
#/bin/bash

# This script set up how to run Tracetest and which test files
# be executed

set -e

check_if_tracetest_is_installed() {
if ! command -v tracetest &> /dev/null
then
echo "tracetest CLI could not be found"
exit -1
fi
}

run_tracetest() {
test_file=$1

Expand All @@ -17,6 +30,8 @@ run_tracetest_with_env() {
return $?
}

check_if_tracetest_is_installed

echo "Starting tests..."

EXIT_STATUS=0
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/tech-based-tests/ad-get.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Test
spec:
id: ad-get-ads
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/tech-based-tests/currency-convert.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Test
spec:
id: JVF5jfsVR
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/tech-based-tests/currency-supported.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

type: Test
spec:
id: currency-supported
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/tracetest-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

postgres:
host: tracetest-postgres
user: postgres
Expand Down
3 changes: 3 additions & 0 deletions test/tracetesting/tracetest-provision.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0

---
type: PollingProfile
spec:
Expand Down

0 comments on commit 32c0e72

Please sign in to comment.