Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Sait (0.14 sec)

  1. cmd/server_test.go

    			c.Assert(err, nil)
    
    			response, err := s.client.Do(request)
    			if err != nil {
    				c.Errorf("Put bucket Failed: <ERROR> %s", err)
    				return
    			}
    			defer response.Body.Close()
    		}()
    	}
    	wg.Wait()
    
    	bucketName = getRandomBucketName()
    	// Block 2: testing for correctness of the functionality
    	// HTTP request to create the bucket.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  2. cni/pkg/nodeagent/server_test.go

    func (f *fakeServer) ConstructInitialSnapshot(ambientPods []*corev1.Pod) error {
    	if f.testWG != nil {
    		defer f.testWG.Done()
    	}
    	args := f.Called(ambientPods)
    	return args.Error(0)
    }
    
    // Custom "wait group with timeout" for waiting for fakeServer calls in a goroutine to finish
    type WaitGroup struct {
    	count int32
    	done  chan struct{}
    }
    
    func NewWaitGroup() *WaitGroup {
    	return &WaitGroup{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top