Skip to content

Commit

Permalink
Remove JIT test
Browse files Browse the repository at this point in the history
Temporally to pass the tests.
Stil the JIT work OK with Ngx-php
  • Loading branch information
joanhey authored Jan 12, 2025
1 parent 7072989 commit 7516d61
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions t/025-opcache.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,3 @@ enabled
=== TEST 2: JIT enabled
JIT disabled for now, # check https://github.com/oerdnj/deb.sury.org/issues/1924
--- http_config
php_ini_path $TEST_NGINX_BUILD_DIR/.github/ngx-php/php/php.ini;
--- config
location = /jit {
content_by_php '
if (PHP_MAJOR_VERSION < 8) {
# JIT only added in PHP8
echo "JIT enabled\n";
} else {
echo opcache_get_status()["jit"]["enabled"] ? "JIT enabled\n" : "JIT disabled";
}
';
}
--- request
GET /jit
--- response_body
JIT enabled

0 comments on commit 7516d61

Please sign in to comment.