- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for CombinedOutputLog (0.22 sec)
-
pkg/util/iptables/iptables_test.go
} if !sets.New(fcmd.CombinedOutputLog[2]...).HasAll("iptables", WaitString) { t.Errorf("wrong CombinedOutput() log, got %s", fcmd.CombinedOutputLog[2]) } if sets.New(fcmd.CombinedOutputLog[2]...).Has(WaitSecondsValue) { t.Errorf("wrong CombinedOutput() log, got %s", fcmd.CombinedOutputLog[2]) } } func TestWaitFlagNew(t *testing.T) { fcmd := fakeexec.FakeCmd{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 08 15:21:59 UTC 2023 - 46.3K bytes - Viewed (0) -
pkg/proxy/ipvs/ipset/ipset_test.go
} if fcmd.CombinedOutputCalls != 1 { t.Errorf("expected 1 CombinedOutput() calls, got %d", fcmd.CombinedOutputCalls) } if !sets.NewString(fcmd.CombinedOutputLog[0]...).HasAll("ipset", "flush", "FOOBAR") { t.Errorf("wrong CombinedOutput() log, got %s", fcmd.CombinedOutputLog[0]) } // Flush again err = runner.FlushSet("FOOBAR") if err != nil { t.Errorf("expected success, got %v", err) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 19 01:20:51 UTC 2023 - 41.5K bytes - Viewed (0) -
pkg/volume/git_repo/git_repo_test.go
for _, expected := range expecteds { expectedCmds = append(expectedCmds, expected.cmd) } if !reflect.DeepEqual(expectedCmds, fcmd.CombinedOutputLog) { allErrs = append(allErrs, fmt.Errorf("unexpected commands: %v, expected: %v", fcmd.CombinedOutputLog, expectedCmds)) } var expectedPaths []string for _, expected := range expecteds {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 08:26:26 UTC 2024 - 12K bytes - Viewed (0) -
pkg/proxy/conntrack/conntrack_test.go
// only possibilities here are that we ran 1 command or we ran 0. if ct.execer.(*fakeexec.FakeExec).CommandCalls != 1 { return "" } return strings.Join(ct.fcmd.CombinedOutputLog[0], " ") } func TestExec(t *testing.T) { testCases := []struct { args []string result fakeexec.FakeAction expectErr bool }{ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 15 18:08:36 UTC 2024 - 6.7K bytes - Viewed (0)