mirror of https://github.com/grpc/grpc-go.git
cleanup: fix comments spacing (#8015)
This commit is contained in:
parent
89093a368e
commit
c879198e3b
|
@ -1182,7 +1182,7 @@ func (s) TestServerConnDecoupledFromApplicationRead(t *testing.T) {
|
||||||
if err := cstream1.Write(nil, newBufferSlice(make([]byte, defaultWindowSize)), &WriteOptions{Last: true}); err != nil {
|
if err := cstream1.Write(nil, newBufferSlice(make([]byte, defaultWindowSize)), &WriteOptions{Last: true}); err != nil {
|
||||||
t.Fatalf("Client failed to write data. Err: %v", err)
|
t.Fatalf("Client failed to write data. Err: %v", err)
|
||||||
}
|
}
|
||||||
//Client should be able to create another stream and send data on it.
|
// Client should be able to create another stream and send data on it.
|
||||||
cstream2, err := client.NewStream(ctx, &CallHdr{})
|
cstream2, err := client.NewStream(ctx, &CallHdr{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Failed to create 2nd stream. Err: %v", err)
|
t.Fatalf("Failed to create 2nd stream. Err: %v", err)
|
||||||
|
|
|
@ -290,7 +290,7 @@ func (e *engine) doAuditLogging(rpcData *rpcData, rule string, authorized bool)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO(gtcooke94) check if we need to log before creating the event
|
// TODO(gtcooke94) check if we need to log before creating the event
|
||||||
event := &audit.Event{
|
event := &audit.Event{
|
||||||
FullMethodName: rpcData.fullMethod,
|
FullMethodName: rpcData.fullMethod,
|
||||||
Principal: principal,
|
Principal: principal,
|
||||||
|
|
|
@ -156,7 +156,7 @@ func DoSoakTest(ctx context.Context, soakConfig SoakTestConfig) {
|
||||||
// Wait for all goroutines to complete.
|
// Wait for all goroutines to complete.
|
||||||
wg.Wait()
|
wg.Wait()
|
||||||
|
|
||||||
//Handle results.
|
// Handle results.
|
||||||
totalIterations := 0
|
totalIterations := 0
|
||||||
totalFailures := 0
|
totalFailures := 0
|
||||||
latencies := stats.NewHistogram(stats.HistogramOptions{
|
latencies := stats.NewHistogram(stats.HistogramOptions{
|
||||||
|
|
Loading…
Reference in New Issue