Skip to content

Commit 2786b58

Browse files
committed
Generate some cluster events
1 parent 8a633a9 commit 2786b58

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/suites/optional/observability.robot

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Resource ../../resources/kubeconfig.resource
1111
Resource ../../resources/common.resource
1212
Resource ../../resources/systemd.resource
1313
Resource ../../resources/observability.resource
14+
Resource ../../resources/microshift-network.resource
1415

1516
Suite Setup Setup Suite And Prepare Test Host
1617
Suite Teardown Teardown Suite And Revert Test Host
@@ -65,9 +66,12 @@ Logs Should Not Contain Receiver Errors
6566
Setup Suite And Prepare Test Host
6667
[Documentation] The service starts after MicroShift starts and thus will start generating pertinent log data
6768
... right away. When the suite is executed, immediately get the cursor for the microshift-observability unit.
68-
Setup Suite
69+
Setup Suite With Namespace
6970
Check Required Observability Variables
7071
Set Test OTEL Configuration
72+
# We need to do something to the cluster to generate new kube events.
73+
Create Hello MicroShift Pod
74+
Expose Hello MicroShift
7175
${cur} Get Journal Cursor unit=microshift-observability
7276
VAR ${JOURNAL_CUR} ${cur} scope=SUITE
7377

@@ -93,7 +97,7 @@ Set Test OTEL Configuration
9397
Teardown Suite And Revert Test Host
9498
[Documentation] Set back original OTEL config and teardown Suite
9599
Set Back Original OTEL Configuration
96-
Teardown Suite
100+
Teardown Suite With Namespace
97101

98102
Set Back Original OTEL Configuration
99103
[Documentation] Set Back Original OTEL Configuration

0 commit comments

Comments
 (0)