You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: taint_manager_test.go
    path of file: ./repos/openyurt/pkg/yurtmanager/controller/nodelifecycle/scheduler
    
    the code of the file until where you have to start completion: /*
Copyright 2017 The Kubernetes Authors.
Copyright 2023 The OpenYurt Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except i
    
func TestUpdateNodeWithMultipleTaints(t *testing.T) {
	taint1 := createNoExecuteTaint(1)
	taint2 := createNoExecuteTaint(2)

	minute := int64(60)
	pod := NewPod("pod1", "node1")
	pod.Spec.Tolerations = []v1.Toleration{
		{Key: taint1.Key, Operator: v1.TolerationOpExists, Effect: v1.TaintEffectNoExecute},
		{Key: taint2.Key, Operator: v1.TolerationOpExists, Effect: v1.TaintEffectNoExecute, TolerationSeconds: &minute},
	}
	podNamespacedName := types.NamespacedName{Namespace: pod.Namespace, Name: pod.Name}

	untaintedNode := NewNode("node1")

	doubleTaintedNode := NewNode("node1")
	doubleTaintedNode.Spec.Taints = []v1.Taint{taint1, taint2}

	singleTaintedNode := NewNode("node1")
	singleTaintedNode.Spec.Taints = []v1.Taint{taint1}

	ctx, cancel := context.WithCancel(context.TODO())
	//fakeClientset := fake.NewSimpleClientset(pod)
	//controller, _, nodeIndexer := setupNewNoExecuteTaintManager(ctx, fakeClientset)
	//controller.recorder = testutil.NewFakeRecorder(0)
	scheme := runtime.NewScheme()
	clientgoscheme.AddToScheme(scheme)
	fakeClient := fakeclient.NewClientBuilder().WithScheme(scheme).WithObjects(pod).WithObjects(untaintedNode).Build()
	fakeClientset := testutil.NewClientWrapper(fakeClient, scheme)
	controller := NewNoExecuteTaintManager(testutil.NewFakeRecorder(), fakeClientset, getPodsAssignedToNode(ctx, fakeClientset))
	go controller.Run(ctx)

	// no taint
	//nodeIndexer.Add(untaintedNode)
	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
	// verify pod is not queued for deletion
	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
		t.Fatalf("pod queued for deletion with no taints")
	}

	// no taint -> infinitely tolerated taint
	//nodeIndexer.Update(singleTaintedNode)
	nodeCopy := singleTaintedNode.DeepCopy()
	fakeClientset.Update(ctx, nodeCopy, &client.UpdateOptions{})
	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
	// verify pod is not queued for deletion
	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
		t.Fatalf("pod queued for deletion with permanently tolerated taint")
	}

	// infinitely tolerated taint -> temporarily tolerated taint
	//nodeIndexer.Update(doubleTaintedNode)
	fakeClientset.Update(ctx, doubleTaintedNode, &client.UpdateOptions{})
	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
	// verify pod is queued for deletion
	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) == nil {
		t.Fatalf("pod not queued for deletion after addition of temporarily tolerated taint")
	}

	// temporarily tolerated taint -> infinitely tolerated taint
	//nodeIndexer.Update(singleTaintedNode)
	if err := fakeClientset.Update(ctx, singleTaintedNode, &client.UpdateOptions{}); err != nil {
		t.Errorf("failed to update singleTaintedNode, %v", err)
	}
	controller.handleNodeUpdate(ctx, nodeUpdateItem{"node1"})
	// verify pod is not queued for deletion
	if controller.taintEvictionQueue.GetWorkerUnsafe(podNamespacedName.String()) != nil {
		t.Fatalf("pod queued for deletion after removal of temporarily tolerated taint")
	}

	// verify pod is not deleted
	for _, action := range fakeClientset.Actions() {
		if action.GetVerb() == "delete" && action.GetResource().Resource == "pods" {
			t.Error("Unexpected deletion")
		}
	}
	cancel()
}