Merge `extra_init_by_lua_start ` and `extra_init_by_lua ` directive in test cases
Open
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
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