tarantool / http

Tarantool http server
Other
80 stars 39 forks source link

With Tarantool 2.10 http test become broken #160

Closed ligurio closed 2 years ago

ligurio commented 2 years ago

How-to run: ./.rocks/bin/luatest test/

1) unit.http_template.test_template_2                                       
box.httpd.template: users template:1:  variable 'ab' is not declared
stack traceback:
        ...ergeyb/sources/MRG/http/test/unit/http_template_test.lua:14: in function 'unit.http_template.test_template_2'
        ...
        [C]: in function 'xpcall'
Tarantool 2.10.0-beta2-143-gb0d358500                                       
Target: Linux-x86_64-Debug                                                  
Build options: cmake . -DCMAKE_INSTALL_PREFIX=/usr/local -DENABLE_BACKTRACE=ON                                                                          
Compiler: /usr/bin/cc /usr/bin/c++                                          
C_FLAGS: -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c11 -Wall -Wextra -Wno-strict-aliasi
ng -Wno-char-subscripts -Wno-format-truncation -Wno-gnu-alignof-expression -fno-gnu89-inline -Wno-cast-function-type -Werror
CXX_FLAGS: -fexceptions -funwind-tables -fno-omit-frame-pointer -fno-stack-protector -fno-common -fopenmp -msse2 -std=c++11 -Wall -Wextra -Wno-strict-al
iasing -Wno-char-subscripts -Wno-format-truncation -Wno-invalid-offsetof -Wno-gnu-alignof-expression -Wno-cast-function-type -Werror

Everything fine with Tarantool 2.8.3-0-g01023dbc2.

olegrok commented 2 years ago

It's not Tarantool 2.10 issue. It's issue of debug build. Moreover it's duplicate of https://github.com/tarantool/http/issues/44

ligurio commented 2 years ago

Moreover it's duplicate of https://github.com/tarantool/http/issues/44

Thanks, Oleg!

Closed as a duplicate.