- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for assertNFTablesTransactionEqual (0.4 sec)
-
pkg/proxy/nftables/proxier_test.go
fp.syncProxyRules() // The second change counteracts the first one, so same expected rules as last time assertNFTablesTransactionEqual(t, getLine(), expected, nft.Dump()) // Sync with no new changes, so same expected rules as last time fp.syncProxyRules() assertNFTablesTransactionEqual(t, getLine(), expected, nft.Dump()) } func TestNoEndpointsMetric(t *testing.T) { type endpoint struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 01:31:57 UTC 2024 - 173.5K bytes - Viewed (0) -
pkg/proxy/nftables/helpers_test.go
} // diffNFTablesTransaction is a (testable) helper function for assertNFTablesTransactionEqual func diffNFTablesTransaction(expected, result string) string { expected = sortNFTablesTransaction(expected) result = sortNFTablesTransaction(result) return cmp.Diff(expected, result) } // assertNFTablesTransactionEqual asserts that expected and result are equal, ignoring // irrelevant differences.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 02 09:57:47 UTC 2024 - 48.5K bytes - Viewed (0)