Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for robust (0.22 sec)

  1. cluster/gce/util.sh

      local template_name="$1"
      local metadata_values="$4"
      local os="$5"
      local machine_type="$6"
    
      # First, ensure the template doesn't exist.
      # TODO(zmerlynn): To make this really robust, we need to parse the output and
      #                 add retries. Just relying on a non-zero exit code doesn't
      #                 distinguish an ephemeral failed call from a "not-exists".
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    		})
    
    		pr, pw := io.Pipe()
    		res, err := cst.c.Post(cst.ts.URL, "text/plain", pr)
    		if err != nil {
    			t.Fatal(err)
    		}
    		defer res.Body.Close()
    
    		// TODO(panjf2000): sleep is not so robust, maybe find a better way to test this?
    		time.Sleep(10 * time.Millisecond) // stall sending body to server to test server doesn't time out
    		pw.Write([]byte(reqBody))
    		pw.Close()
    
    		got, err := io.ReadAll(res.Body)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
Back to top