Skip to content

Commit

Permalink
test: update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Oct 4, 2024
1 parent 24b026c commit a790a0c
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 222 deletions.
75 changes: 0 additions & 75 deletions internal/test_helpers/fixtures/base/pass
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@ Debug = true

[stage-5] Running tests for Stage #5: pv1
[stage-5] $ ./your_program.sh /tmp/server.properties
[stage-5] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-5] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-5] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-5] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-5] Connecting to broker at: localhost:9092
[stage-5] Connection to broker at localhost:9092 successful
[stage-5] Sending "ApiVersions" (version: 4) request (Correlation id: 177586623)
Expand Down Expand Up @@ -387,21 +372,6 @@ Debug = true

[stage-4] Running tests for Stage #4: nc5
[stage-4] $ ./your_program.sh /tmp/server.properties
[stage-4] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-4] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-4] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-4] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-4] Connecting to broker at: localhost:9092
[stage-4] Connection to broker at localhost:9092 successful
[stage-4] Sending "ApiVersions" (version: 15281) request (Correlation id: 1616512461)
Expand Down Expand Up @@ -431,21 +401,6 @@ Debug = true

[stage-3] Running tests for Stage #3: wa6
[stage-3] $ ./your_program.sh /tmp/server.properties
[stage-3] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-3] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-3] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-3] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-3] Connecting to broker at: localhost:9092
[stage-3] Connection to broker at localhost:9092 successful
[stage-3] Sending "ApiVersions" (version: 4) request (Correlation id: 1698452642)
Expand Down Expand Up @@ -505,21 +460,6 @@ Debug = true

[stage-2] Running tests for Stage #2: nv3
[stage-2] $ ./your_program.sh /tmp/server.properties
[stage-2] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-2] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-2] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-2] Connecting to broker at: localhost:9092
[stage-2] Connection to broker at localhost:9092 successful
[stage-2] Sending "ApiVersions" (version: 4) request (Correlation id: 7)
Expand Down Expand Up @@ -579,21 +519,6 @@ Debug = true

[stage-1] Running tests for Stage #1: vi6
[stage-1] $ ./your_program.sh /tmp/server.properties
[stage-1] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-1] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-1] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-1] Connecting to port 9092...
[stage-1] Connection successful
[stage-1] Test passed.
Expand Down
30 changes: 0 additions & 30 deletions internal/test_helpers/fixtures/concurrent_stages/pass
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,6 @@ Debug = true

[stage-2] Running tests for Stage #2: nh4
[stage-2] $ ./your_program.sh /tmp/server.properties
[stage-2] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-2] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-2] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-2] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-2] Connecting to broker at: localhost:9092
[stage-2] Connection to broker at localhost:9092 successful
[stage-2] Sending request 1 of 2: "ApiVersions" (version: 4) request (Correlation id: 1616512461)
Expand Down Expand Up @@ -751,21 +736,6 @@ Debug = true

[stage-1] Running tests for Stage #1: sk0
[stage-1] $ ./your_program.sh /tmp/server.properties
[stage-1] [Serializer] Writing log files to: /tmp/kraft-combined-logs
[stage-1] [Serializer]  - Wrote file to: /tmp/server.properties
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/meta.properties
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/.kafka_cleanshutdown
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/partition.metadata
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/baz-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/foo-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-0/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/paz-1/00000000000000000000.log
[stage-1] [Serializer]  - Wrote file to: /tmp/kraft-combined-logs/__cluster_metadata-0/00000000000000000000.log
[stage-1] [Serializer] Finished writing log files to: /tmp/kraft-combined-logs
[stage-1] Connecting to broker at: localhost:9092
[stage-1] Connection to broker at localhost:9092 successful
[stage-1] Connecting to broker at: localhost:9092
Expand Down
Loading

0 comments on commit a790a0c

Please sign in to comment.