summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-11-25 15:45:17 +0300
committerValery Piashchynski <[email protected]>2021-11-25 15:45:17 +0300
commitd55a3743b0a92a193cb385fa5e13be133ecff802 (patch)
tree0af592bb50a722e9e4013db36cd033888fcddf5b
parent6123a45bd77f50b137d46577089b7b43c692b2d1 (diff)
correct tests
update CHANGELOG Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r--CHANGELOG.md1
-rw-r--r--transport/pipe/pipe_factory_spawn_test.go2
-rwxr-xr-xtransport/pipe/pipe_factory_test.go2
3 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 95a8aa66..5d0fcd26 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,7 @@
### 👀 New:
- ✏️ New internal message bus. Available globally. Supports wildcard subscriptions (for example: `http.*` will subscribe you to the all events coming from the `http` plugin). The subscriptions can be made from any RR plugin to any RR plugin.
+- ✏️ Now, RR will show in the returned error the bad header content in case of CRC mismatch error. More info in the [PR](https://github.com/spiral/roadrunner/pull/863).
## 🩹 Fixes:
diff --git a/transport/pipe/pipe_factory_spawn_test.go b/transport/pipe/pipe_factory_spawn_test.go
index 256176de..96dd37a6 100644
--- a/transport/pipe/pipe_factory_spawn_test.go
+++ b/transport/pipe/pipe_factory_spawn_test.go
@@ -338,7 +338,7 @@ func Test_String2(t *testing.T) {
assert.Contains(t, w.String(), "php ../../tests/client.php echo pipes")
assert.Contains(t, w.String(), "ready")
- assert.Contains(t, w.String(), "numExecs: 0")
+ assert.Contains(t, w.String(), "num_execs: 0")
}
func Test_Echo_Slow2(t *testing.T) {
diff --git a/transport/pipe/pipe_factory_test.go b/transport/pipe/pipe_factory_test.go
index 848676cf..7ca49d09 100755
--- a/transport/pipe/pipe_factory_test.go
+++ b/transport/pipe/pipe_factory_test.go
@@ -397,7 +397,7 @@ func Test_String(t *testing.T) {
assert.Contains(t, w.String(), "php ../../tests/client.php echo pipes")
assert.Contains(t, w.String(), "ready")
- assert.Contains(t, w.String(), "numExecs: 0")
+ assert.Contains(t, w.String(), "num_execs: 0")
}
func Test_Echo_Slow(t *testing.T) {