knative-extensions / knative-extensions/sample-source

Add KinD test that verifies that the source deploys successfully and starts sending events.

Open
#596 4 comments 0 reactions 0 assignees View on GitHub
help wanted triage/accepted
Dominant language
Go
Stars
29
Forks
48
Avg merge
5m
Merged PRs (30d)
4

Description

## Overview

We recently found that even though build and unit tests had been passing, the receive adapter panicked when it started when you actually deployed the sample source. To address this, we should add a KinD test job that will:
1. Install eventing and the sample source
2. Create a sample source
3. Verify that events are delivered

## More info

These resources will likely be helpful while working on this:
- https://github.com/knative/eventing/blob/main/.github/workflows/kind-e2e.yaml
- https://github.com/knative-extensions/reconciler-test
- https://github.com/knative/eventing/tree/main/test/rekt

Contributor guide

Open the contributing guide

Research direction

Start with .github/workflows/kind-e2e.yaml in Knative Eventing and the reconciler-test and test/rekt resources linked in the issue. Define a KinD test job that installs Eventing and the sample source, creates a sample source, and verifies that events are delivered successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
ci-cd, testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.