-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add test-doc-generator and document all tests
Signed-off-by: David Kornel <[email protected]>
- Loading branch information
Showing
3 changed files
with
117 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# SqlExampleST | ||
|
||
**Description:** This test suite verifies that flink-sql-example works correctly | ||
|
||
**Before tests execution steps:** | ||
|
||
| Step | Action | Result | | ||
| - | - | - | | ||
| 1. | Deploy the strimzi kafka operator | Strimzi operator is deployed | | ||
| 2. | Deploy the flink operator | Flink operator is deployed | | ||
| 3. | Deploy the apicurio operator | Apicurio operator is deployed | | ||
| 4. | Deploy the cert-manager operator | Cert-manager operator is deployed | | ||
|
||
**Labels:** | ||
|
||
* `flink-sql-example` (description file doesn't exist) | ||
* `flink` (description file doesn't exist) | ||
|
||
<hr style="border:1px solid"> | ||
|
||
## testFlinkSqlExample | ||
|
||
**Description:** Test verifies that flink-sql-example recommended app https://github.com/streamshub/flink-sql-examples/tree/main/recommendation-app works | ||
|
||
**Steps:** | ||
|
||
| Step | Action | Result | | ||
| - | - | - | | ||
| 1. | Create namespace, serviceaccount and roles for flink | Resources created | | ||
| 2. | Deploy apicurio registry | Apicurio registry is up and running | | ||
| 3. | Deploy simple example kafka my-cluster | Kafka is up and running | | ||
| 4. | Deploy productInventory.csv as configmap | Configmap created | | ||
| 5. | Deploy data-generator deployment | Deployment is up and running | | ||
| 6. | Deploy FlinkDeployment from sql-example | FlinkDeployment is up and tasks are deployed and it sends filtered data into flink.recommended.products topic | | ||
| 7. | Deploy strimzi-kafka-client consumer as job and consume messages fromkafka topic flink.recommended.products | Consumer is deployed and it consumes messages | | ||
| 8. | Verify that messages are present | Messages are present | | ||
|
||
**Labels:** | ||
|
||
* `flink-sql-example` (description file doesn't exist) | ||
* `flink` (description file doesn't exist) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters