openresty / openresty/test-nginx

somewhat array related in line 1102

Open
#35 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Perl
Stars
456
Forks
112
PR merge metrics
No merged PRs in 30d

Description

have a look:

https://travis-ci.org/chipitsine/stream-lua-nginx-module/builds/128381568#L590

is fails in line 1102

#   Failed test 'TEST 13: ngx.log() big data - pattern "Undefined subroutine &Test::Base::Filter::ARRAY called at (eval 46) line 1, <DATA> line 1." should match a line in error.log (req 0)'

#   at /usr/local/share/perl/5.18.2/Test/Nginx/Socket.pm line 1102.

ok 3 - TEST 13: ngx.log() big data - status code ok

looks like stream is not wrapped in array like http ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Travis build and inspect /usr/local/share/perl/5.18.2/Test/Nginx/Socket.pm around line 1102. Compare how stream and HTTP test data are wrapped, then reproduce TEST 13. Done means the test no longer reports the Undefined subroutine &Test::Base::Filter::ARRAY error and the expected log pattern matches.

Written by the indexing model from the issue text.

Assessment

Tech stack
nginx, perl
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.