Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestCodecOfUnstructuredList (1.8 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/helpers_test.go

    	"sync"
    	"testing"
    
    	runtimetesting "k8s.io/apimachinery/pkg/runtime/testing"
    
    	"github.com/stretchr/testify/assert"
    )
    
    // TestCodecOfUnstructuredList tests that there are no data races in Encode().
    // i.e. that it does not mutate the object being encoded.
    func TestCodecOfUnstructuredList(t *testing.T) {
    	var wg sync.WaitGroup
    	concurrency := 10
    	list := UnstructuredList{
    		Object: map[string]interface{}{},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 24 07:53:28 UTC 2021
    - 5.9K bytes
    - Viewed (0)
Back to top