Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[test] Fix test code compiling error due to not enough arguments #14401

Merged
merged 1 commit into from
Aug 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/e2e/ctl_v3_auth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ func authTestCacheReload(cx ctlCtx) {

// restart the node
node0.WithStopSignal(syscall.SIGINT)
if err := node0.Restart(); err != nil {
if err := node0.Restart(context.TODO()); err != nil {
cx.t.Fatal(err)
}

Expand Down
3 changes: 2 additions & 1 deletion tests/e2e/no_quorum_ready_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
package e2e

import (
"context"
"testing"

"go.etcd.io/etcd/tests/v3/framework/e2e"
Expand All @@ -31,7 +32,7 @@ func TestInitDaemonNotifyWithoutQuorum(t *testing.T) {
epc.Procs = epc.Procs[:1]

// Start the etcd cluster with only one member
if err := epc.Start(); err != nil {
if err := epc.Start(context.TODO()); err != nil {
t.Fatalf("Failed to start the etcd cluster: %v", err)
}

Expand Down