@@ -381,7 +381,7 @@ var _ = Describe("ClientStreaming", func() {
381
381
Expect (err ).NotTo (HaveOccurred ())
382
382
conn := newTestingConnectionForServer ()
383
383
go func () { _ = server .Serve (conn ) }()
384
- conn .ClientSend (`{"type":4 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff2","ggg"]}` )
384
+ conn .ClientSend (`{"type":1 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff2","ggg"]}` )
385
385
<- hub .ch
386
386
<- conn .received
387
387
// Send invalid stream item message with missing id and item
@@ -402,7 +402,7 @@ var _ = Describe("ClientStreaming", func() {
402
402
Expect (err ).NotTo (HaveOccurred ())
403
403
conn := newTestingConnectionForServer ()
404
404
go func () { _ = server .Serve (conn ) }()
405
- conn .ClientSend (`{"type":4 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff3","ggg"]}` )
405
+ conn .ClientSend (`{"type":1 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff3","ggg"]}` )
406
406
<- hub .ch
407
407
<- conn .received
408
408
// Send invalid stream item message with missing item
@@ -423,7 +423,7 @@ var _ = Describe("ClientStreaming", func() {
423
423
Expect (err ).NotTo (HaveOccurred ())
424
424
conn := newTestingConnectionForServer ()
425
425
go func () { _ = server .Serve (conn ) }()
426
- conn .ClientSend (`{"type":4 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff1","ggg"]}` )
426
+ conn .ClientSend (`{"type":1 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff1","ggg"]}` )
427
427
<- hub .ch
428
428
<- conn .received
429
429
// Send invalid stream item message
@@ -444,7 +444,7 @@ var _ = Describe("ClientStreaming", func() {
444
444
Expect (err ).NotTo (HaveOccurred ())
445
445
conn := newTestingConnectionForServer ()
446
446
go func () { _ = server .Serve (conn ) }()
447
- conn .ClientSend (`{"type":4 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff4","ggg"]}` )
447
+ conn .ClientSend (`{"type":1 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff4","ggg"]}` )
448
448
<- hub .ch
449
449
<- conn .received
450
450
// Send invalid stream item message with invalid invocation id
@@ -468,7 +468,7 @@ var _ = Describe("ClientStreaming", func() {
468
468
Expect (err ).NotTo (HaveOccurred ())
469
469
conn := newTestingConnectionForServer ()
470
470
go func () { _ = server .Serve (conn ) }()
471
- conn .ClientSend (`{"type":4 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff5","ggg"]}` )
471
+ conn .ClientSend (`{"type":1 ,"invocationId": "nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff5","ggg"]}` )
472
472
<- hub .ch
473
473
<- conn .received
474
474
// Send invalid completion message with missing id
@@ -490,7 +490,7 @@ var _ = Describe("ClientStreaming", func() {
490
490
Expect (err ).NotTo (HaveOccurred ())
491
491
conn := newTestingConnectionForServer ()
492
492
go func () { _ = server .Serve (conn ) }()
493
- conn .ClientSend (`{"type":4 ,"invocationId":"nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff6","ggg"]}` )
493
+ conn .ClientSend (`{"type":1 ,"invocationId":"nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["ff6","ggg"]}` )
494
494
<- hub .ch
495
495
<- conn .received
496
496
// Send invalid completion message with unknown id
@@ -549,7 +549,7 @@ var _ = Describe("ClientStreaming", func() {
549
549
Expect (err ).NotTo (HaveOccurred ())
550
550
conn := newTestingConnectionForServer ()
551
551
go func () { _ = server .Serve (conn ) }()
552
- conn .ClientSend (`{"type":4 ,"invocationId":"nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["fff","ggg"]}` )
552
+ conn .ClientSend (`{"type":1 ,"invocationId":"nnn","target":"uploadstreamsmoke","arguments":[5.0],"streamIds":["fff","ggg"]}` )
553
553
<- hub .ch
554
554
<- conn .received
555
555
// Send stream item
@@ -575,7 +575,7 @@ var _ = Describe("ClientStreaming", func() {
575
575
Expect (err ).NotTo (HaveOccurred ())
576
576
conn := newTestingConnectionForServer ()
577
577
go func () { _ = server .Serve (conn ) }()
578
- conn .ClientSend (`{"type":4 ,"invocationId":"nnn","target":"uploaderror","streamIds":["eee"]}` )
578
+ conn .ClientSend (`{"type":1 ,"invocationId":"nnn","target":"uploaderror","streamIds":["eee"]}` )
579
579
<- hub .ch
580
580
<- conn .received
581
581
// Send stream item
@@ -597,7 +597,7 @@ var _ = Describe("ClientStreaming", func() {
597
597
Expect (err ).NotTo (HaveOccurred ())
598
598
conn := newTestingConnectionForServer ()
599
599
go func () { _ = server .Serve (conn ) }()
600
- conn .ClientSend (`{"type":4 ,"invocationId":"nnn","target":"uploaderrorarray","streamIds":["aeae"]}` )
600
+ conn .ClientSend (`{"type":1 ,"invocationId":"nnn","target":"uploaderrorarray","streamIds":["aeae"]}` )
601
601
<- hub .ch
602
602
<- conn .received
603
603
// Send stream item
0 commit comments