- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 841 for fatals (0.12 sec)
-
cni/pkg/pluginlistener/listener_test.go
) func TestCNIListener(t *testing.T) { f := filepath.Join(t.TempDir(), "test") l, err := NewListener(f) if err != nil { t.Fatalf("unexpected error %v", err) } defer l.Close() conn, err := connect(f) if err != nil { t.Fatalf("failed to connect %v", err) } conn.Close() } func connect(socket string) (*grpc.ClientConn, error) { var opts []grpc.DialOption
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Feb 08 21:58:32 UTC 2024 - 1.4K bytes - Viewed (0) -
cni/pkg/nodeagent/netns_linux_test.go
import "testing" func TestOpenNetns(t *testing.T) { ns, err := OpenNetns("/proc/self/ns/net") if err != nil { t.Fatalf("unexpected error: %v", err) } // the inode for netns is proc dynamic, so it needs to be higher than // #define PROC_DYNAMIC_FIRST 0xF0000000U if ns.Inode() < 0xF0000000 { t.Fatalf("unexpected inode: %v", ns.Inode()) } defer ns.Close()
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 976 bytes - Viewed (0) -
tests/embedded_struct_test.go
t.Fatalf("failed to auto migrate, got error: %v", err) } for _, name := range []string{"author_id", "author_name", "author_email"} { if !DB.Migrator().HasColumn(&EngadgetPost{}, name) { t.Errorf("should has prefixed column %v", name) } } stmt := gorm.Statement{DB: DB} if err := stmt.Parse(&EngadgetPost{}); err != nil { t.Fatalf("failed to parse embedded struct")
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed May 08 04:07:58 UTC 2024 - 7.3K bytes - Viewed (0) -
src/archive/tar/reader_test.go
} for i, hdr := range hdrs { if i >= len(v.headers) { t.Fatalf("entry %d: unexpected header:\ngot %+v", i, *hdr) } if !reflect.DeepEqual(*hdr, *v.headers[i]) { t.Fatalf("entry %d: incorrect header:\ngot %+v\nwant %+v", i, *hdr, *v.headers[i]) } } if len(hdrs) != len(v.headers) { t.Fatalf("got %d headers, want %d headers", len(hdrs), len(v.headers)) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
cni/pkg/plugin/plugin_dryrun_test.go
if err != nil { log.Fatalf("Cannot read generated IPTables rule file: %v", err) } generatedRules := getRules(generated) refreshGoldens(t, tt.golden, generatedRules) // Compare generated iptables rule with golden files. golden, err := os.ReadFile(tt.golden) if err != nil { log.Fatalf("Cannot read golden rule file: %v", err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Tue Aug 27 16:44:45 UTC 2024 - 8.5K bytes - Viewed (0) -
cmd/last-minute.go
merged.LastSec = l.LastSec } else { l.forwardTo(o.LastSec) merged.LastSec = o.LastSec } for i := range merged.Totals { merged.Totals[i] = AccElem{ Total: l.Totals[i].Total + o.Totals[i].Total, N: l.Totals[i].N + o.Totals[i].N, Size: l.Totals[i].Size + o.Totals[i].Size, } } return merged } // Add a new duration data func (l *lastMinuteLatency) add(t time.Duration) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
istioctl/cmd/options_test.go
rootCmd := GetRootCmd([]string{"options"}) rootCmd.SetOut(&out) rootCmd.SetErr(&out) fErr := rootCmd.Execute() if fErr != nil { t.Fatalf("options failed with %v and %q\n", fErr, out.String()) } if !regexp.MustCompile(expectedOutput).Match(out.Bytes()) { t.Fatalf("'istioctl options' expected output\n%s\n got\n%s", expectedOutput, out.String()) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Sep 14 02:38:54 UTC 2022 - 1.9K bytes - Viewed (0) -
cmd/tier_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Dec 21 04:13:40 UTC 2023 - 1.5K bytes - Viewed (0) -
internal/dsync/drwmutex_test.go
defer func() { if recover() == nil { t.Fatalf("unlock of unlocked RWMutex did not panic") } }() mu := NewDRWMutex(ds, "test") mu.Unlock(context.Background()) } // Borrowed from rwmutex_test.go func TestUnlockPanic2(t *testing.T) { mu := NewDRWMutex(ds, "test-unlock-panic-2") defer func() { if recover() == nil { t.Fatalf("unlock of unlocked RWMutex did not panic") }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 24 03:49:07 UTC 2022 - 9.7K bytes - Viewed (0) -
cmd/erasure_test.go
if _, err := io.ReadFull(rand.Reader, data); err != nil { t.Fatalf("Failed to read random data: %v", err) } for i, test := range erasureEncodeDecodeTests { buffer := make([]byte, len(data), 2*len(data)) copy(buffer, data) erasure, err := NewErasure(context.Background(), test.dataBlocks, test.parityBlocks, blockSizeV2) if err != nil { t.Fatalf("Test %d: failed to create erasure: %v", i, err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 25 19:37:26 UTC 2022 - 4.8K bytes - Viewed (0)