From 3ffc8264615d7f04e294c5b938a25ac83edc2a9d Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 18 Dec 2024 16:46:35 +0100 Subject: [PATCH] index by test email Signed-off-by: Kristoffer Dalby --- integration/acl_test.go | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/integration/acl_test.go b/integration/acl_test.go index 6606a13220..e1f5dc8dd9 100644 --- a/integration/acl_test.go +++ b/integration/acl_test.go @@ -119,8 +119,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 3, // ns1 + ns2 - "user2": 3, // ns2 + ns1 + "user1@test.no": 3, // ns1 + ns2 + "user2@test.no": 3, // ns2 + ns1 }, }, // Test that when we have two users, which cannot see @@ -145,8 +145,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 1, - "user2": 1, + "user1@test.no": 1, + "user2@test.no": 1, }, }, // Test that when we have two users, with ACLs and they @@ -181,8 +181,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 3, - "user2": 3, + "user1@test.no": 3, + "user2@test.no": 3, }, }, // Test that when we have two users, that are isolated, @@ -213,8 +213,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 3, // ns1 + ns2 - "user2": 3, // ns1 + ns2 (return path) + "user1@test.no": 3, // ns1 + ns2 + "user2@test.no": 3, // ns1 + ns2 (return path) }, }, "very-large-destination-prefix-1372": { @@ -241,8 +241,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 3, // ns1 + ns2 - "user2": 3, // ns1 + ns2 (return path) + "user1@test.no": 3, // ns1 + ns2 + "user2@test.no": 3, // ns1 + ns2 (return path) }, }, "ipv6-acls-1470": { @@ -259,8 +259,8 @@ func TestACLHostsInNetMapTable(t *testing.T) { }, }, }, want: map[string]int{ - "user1": 3, // ns1 + ns2 - "user2": 3, // ns2 + ns1 + "user1@test.no": 3, // ns1 + ns2 + "user2@test.no": 3, // ns2 + ns1 }, }, }