Skip to content

Commit

Permalink
added PAT to component-test workflow call and changed a line in a pro…
Browse files Browse the repository at this point in the history
…ject to get component test to run
  • Loading branch information
rkthtrifork committed Dec 5, 2023
1 parent b7744c3 commit aaaf105
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/run-component-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ jobs:
uses: ./.github/workflows/component-test.yml
with:
folder: ${{ matrix.folder }}
initial-kafka-topics: ${{ matrix.initial-kafka-topics }}
initial-kafka-topics: ${{ matrix.initial-kafka-topics }}
secrets:
PAT: ${{ secrets.PACKAGE_PAT }}
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ public static void main(final String[] args) throws Exception {
protected void setup() {

// Transform stream
WatermarkStrategy<InputEvent> watermarkStrategy = WatermarkStrategyBuilder
.builder(InputEvent.class)
WatermarkStrategy<InputEvent> watermarkStrategy = WatermarkStrategyBuilder.builder(InputEvent.class)
.eventTimestampSupplier(input -> Instant.ofEpochMilli(input.getTimestamp()))
.build();

Expand Down

0 comments on commit aaaf105

Please sign in to comment.