apache / apache/apisix

Merge `extra_init_by_lua_start ` and `extra_init_by_lua ` directive in test cases

Open
#7,990 14 comments 0 reactions 0 assignees View on GitHub
good first issue tech debt
Dominant language
Lua
Stars
17.1k
Forks
2.9k
Avg merge
3d 16h
Merged PRs (30d)
63

Description

### Discussed in https://github.com/apache/apisix/discussions/7988

Originally posted by **monkeyDluffy6017** September 26, 2022
Maybe we should merge `extra_init_by_lua_start ` and `extra_init_by_lua ` directives in test cases, they are just different on position.

Contributor guide

Open the contributing guide

Research direction

Start with discussion 7988 and search the test cases for `extra_init_by_lua_start` and `extra_init_by_lua`. Determine how their positions differ, then merge the directives in the test cases while preserving the intended initialization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.