Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSetGoroutineLabels (0.29 sec)

  1. src/runtime/pprof/runtime_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package pprof
    
    import (
    	"context"
    	"fmt"
    	"reflect"
    	"testing"
    )
    
    func TestSetGoroutineLabels(t *testing.T) {
    	sync := make(chan struct{})
    
    	wantLabels := map[string]string{}
    	if gotLabels := getProfLabel(); !reflect.DeepEqual(gotLabels, wantLabels) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 20:29:37 UTC 2017
    - 3K bytes
    - Viewed (0)
Back to top