Skip to content

Commit

Permalink
added CR headders and fixed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gabo1208 committed Jun 29, 2021
1 parent 2bd501c commit ca457aa
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 3 deletions.
14 changes: 14 additions & 0 deletions test/e2e/config/source/rabbitmq-source.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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
#
# https://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.

apiVersion: sources.knative.dev/v1alpha1
kind: RabbitmqSource
metadata:
Expand Down
14 changes: 14 additions & 0 deletions test/e2e/config/sourcevhost/rabbitmq-source-vhost.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# Copyright 2021 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
#
# https://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.

apiVersion: sources.knative.dev/v1alpha1
kind: RabbitmqSource
metadata:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/config/sourcevhost/sourcevhost.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
Copyright 2020 The Knative Authors
Copyright 2021 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.
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,6 @@ func TestSourceVhostSetup(t *testing.T) {

ctx, env := global.Environment()
env.Test(ctx, t, RabbitMQCluster())
env.Test(ctx, t, VhostSourceTest())
env.Test(ctx, t, VHostSourceTest())
env.Finish()
}
2 changes: 1 addition & 1 deletion test/e2e/source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func DirectSourceTest() *feature.Feature {
}

// VhostSourceTest makes sure an RabbitMQ Source is created on the desired vhost.
func VhostSourceTest() *feature.Feature {
func VHostSourceTest() *feature.Feature {
f := new(feature.Feature)

f.Setup("install RabbitMQ source on test-vhost", sourcevhost.Install())
Expand Down

0 comments on commit ca457aa

Please sign in to comment.