-
Notifications
You must be signed in to change notification settings - Fork 630
Add e2e test for KafkaChannel #1320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
knative-prow-robot
merged 50 commits into
knative:master
from
chizhg:AddE2ETestForKafkaCRDChannel
Jun 5, 2019
Merged
Changes from all commits
Commits
Show all changes
50 commits
Select commit
Hold shift + click to select a range
6dcfca7
support fail fast in all creation methods
chizhg bebf9d3
add resources
chizhg 2bace45
provisioner is not needed in Setup
chizhg a4dfe83
Merge branch 'EnableFailFastInResourceCreation' into AddTestForSources
chizhg c750a41
add test case for cronjobsource
chizhg b578679
fix README
chizhg 3593eaf
Merge branch 'EnableFailFastInResourceCreation' into AddTestForSources
chizhg 6d6416f
cron job source test is now working
chizhg 34f41bb
add image for testing ContainerSource
chizhg f7e5385
serviceaccount is not required for cronjobsource
chizhg daa4632
Merge branch 'AddTestForCronJobSource' into AddTestForContainerSource
chizhg ca5fe7b
add an e2e test case for container source, still in progress
chizhg 249cfb9
not sure why it's not working...
chizhg c46916a
fix minor commment error
chizhg 18e9316
Merge branch 'AddTestForCronJobSource' into AddTestForContainerSource
chizhg 33602f6
Update test/test_images/heartbeats/main.go
chizhg 07abd21
run update-codegen
chizhg 9e2cd0a
Merge branch 'AddTestForContainerSource' of git+ssh://github.com/Fred…
chizhg b6098da
remove debug print
chizhg 23e787b
it's now working
chizhg bc78004
temp
chizhg c272c6e
done with cleanup
chizhg 63bd1af
workaround to support Channel CRDs
chizhg 67c1e74
fix test error
chizhg 92a4b63
add default value for kafka spec configs
chizhg 74d3c6f
Merge branch 'master' into AddE2ETestForKafkaCRDChannel
chizhg d11f66e
fix issues for KafkaChannel
chizhg 7af83c4
wait for kafka channel to be ready
chizhg a7ab626
Merge branch 'master' into AddE2ETestForKafkaCRDChannel
chizhg 9fceed8
check if the error is caused by KafkaChannel
chizhg b0f82b2
try again
chizhg 01ad8bd
try again
chizhg f1b4135
add workaround solution to make KafkaChannel working
chizhg daa2170
add workaround solution to make KafkaChannel working
chizhg f9c4601
Update config/200-controller-clusterrole.yaml
chizhg 783d5e6
fix error for reply
chizhg fff96d2
Merge branch 'AddE2ETestForKafkaCRDChannel' of git+ssh://github.com/F…
chizhg e86c81b
change parallel to 12
chizhg 48f1f27
further cleanup
chizhg 3ab9a4d
Merge branch 'CleanUp' into AddE2ETestForKafkaCRDChannel
chizhg 8faa85e
nit
chizhg 0d46240
nit
chizhg 3115b1c
Merge branch 'master' into AddE2ETestForKafkaCRDChannel
chizhg c6f57f8
update master and merge
chizhg 08ca226
merge with master
chizhg 67fe3a9
merge with master
chizhg 66711b9
fix CR issues
chizhg 5ca5984
fix CR issues
chizhg a614814
fix CR issue
chizhg 24653fd
solve CR isseus
chizhg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,59 @@ | ||
| /* | ||
| Copyright 2019 The Knative Authors | ||
|
|
||
| Licensed under the Apache License, Version 2.0 (the "License"); | ||
| you may not use this file except in compliance with the License. | ||
| You may obtain a copy of the License at | ||
|
|
||
| http://www.apache.org/licenses/LICENSE-2.0 | ||
|
|
||
| Unless required by applicable law or agreed to in writing, software | ||
| distributed under the License is distributed on an "AS IS" BASIS, | ||
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| See the License for the specific language governing permissions and | ||
| limitations under the License. | ||
| */ | ||
|
|
||
| package base | ||
|
|
||
| const ( | ||
| // InMemoryProvisioner is the in-memory provisioner, which is also the default one. | ||
| InMemoryProvisioner = "in-memory" | ||
| // GCPPubSubProvisioner is the gcp-pubsub provisioner, which is under contrib/gcppubsub. | ||
| GCPPubSubProvisioner = "gcp-pubsub" | ||
| // KafkaProvisioner is the kafka provisioner, which is under contrib/kafka. | ||
| KafkaProvisioner = "kafka" | ||
| // NatssProvisioner is the natss provisioner, which is under contrib/natss | ||
| NatssProvisioner = "natss" | ||
| ) | ||
|
|
||
| // API versions for the resources. | ||
| const ( | ||
| EventingAPIVersion = "eventing.knative.dev/v1alpha1" | ||
| SourcesAPIVersion = "sources.eventing.knative.dev/v1alpha1" | ||
| MessagingAPIVersion = "messaging.knative.dev/v1alpha1" | ||
| ) | ||
|
|
||
| // Kind for eventing resources. | ||
| const ( | ||
| ChannelKind string = "Channel" | ||
| SubscriptionKind string = "Subscription" | ||
| ClusterChannelProvisionerKind string = "ClusterChannelProvisioner" | ||
|
|
||
| BrokerKind string = "Broker" | ||
| TriggerKind string = "Trigger" | ||
| ) | ||
|
|
||
| // Kind for messaging resources. | ||
| const ( | ||
| InMemoryChannelKind string = "InMemoryChannel" | ||
| KafkaChannelKind string = "KafkaChannel" | ||
| NatssChannelKind string = "NatssChannel" | ||
| ) | ||
|
|
||
| // Kind for sources resources. | ||
| const ( | ||
| CronJobSourceKind string = "CronJobSource" | ||
| ContainerSourceKind string = "ContainerSource" | ||
| ApiServerSourceKind string = "ApiServerSource" | ||
| ) |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.