Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
mgencur committed Jun 25, 2020
1 parent 4286dfb commit 864aba9
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions test/e2e/helpers/broker_test_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ func TestBrokerWithManyTriggers(t *testing.T, brokerCreator BrokerCreator, shoul
{Type: eventType2, Source: eventSource2},
},
eventFilters: []eventTestCase{
{Type: any, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
},
deprecatedTriggerFilter: true,
}, {
Expand All @@ -175,10 +175,10 @@ func TestBrokerWithManyTriggers(t *testing.T, brokerCreator BrokerCreator, shoul
{Type: eventType2, Source: eventSource2},
},
eventFilters: []eventTestCase{
{Type: any, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
},
deprecatedTriggerFilter: false,
}, {
Expand All @@ -190,10 +190,10 @@ func TestBrokerWithManyTriggers(t *testing.T, brokerCreator BrokerCreator, shoul
{Type: eventType2, Source: eventSource2},
},
eventFilters: []eventTestCase{
{Type: any, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: any, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: eventSource1, NameSuffix:testlib.RandomSuffix()},
},
deprecatedTriggerFilter: false,
v1beta1: true,
Expand All @@ -210,13 +210,13 @@ func TestBrokerWithManyTriggers(t *testing.T, brokerCreator BrokerCreator, shoul
{Type: eventType2, Source: eventSource2, Extensions: map[string]interface{}{extensionName1: extensionValue1, nonMatchingExtensionName: extensionValue2}},
},
eventFilters: []eventTestCase{
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1, extensionName2: extensionValue2}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName2: extensionValue2}, NameSuffix: lib.RandomSuffix()},
{Type: eventType1, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: any}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: eventSource1, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: eventSource1, Extensions: map[string]interface{}{extensionName1: extensionValue1, extensionName2: extensionValue2}, NameSuffix: lib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1, extensionName2: extensionValue2}, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName2: extensionValue2}, NameSuffix:testlib.RandomSuffix()},
{Type: eventType1, Source: any, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: any, Extensions: map[string]interface{}{extensionName1: any}, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: eventSource1, Extensions: map[string]interface{}{extensionName1: extensionValue1}, NameSuffix:testlib.RandomSuffix()},
{Type: any, Source: eventSource1, Extensions: map[string]interface{}{extensionName1: extensionValue1, extensionName2: extensionValue2}, NameSuffix:testlib.RandomSuffix()},
},
deprecatedTriggerFilter: false,
},
Expand Down

0 comments on commit 864aba9

Please sign in to comment.