Skip to content

Commit 31de61a

Browse files
committed
Correct JIT tests
Due to GitHub Auto Merge merging PR's when they are not passing, a broken PR was merged. This PR is to resolve that issue
1 parent 900894e commit 31de61a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

test/container/test_php_config.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,24 @@
11
import pytest
22

33
@pytest.mark.php_cli
4+
@pytest.mark.php_nts
45
def test_configuration_is_effective(host):
56
config = get_config(host)
67

78
assert u'memory_limit => -1 => -1' in config
89
assert u'opcache.enable_cli => On => On' in config
10+
assert u'opcache.jit => 1255 => 1255' in config
11+
assert u'opcache.jit_buffer_size => 128M => 128M' in config
12+
13+
@pytest.mark.php_dev
14+
@pytest.mark.php_zts
15+
def test_configuration_is_effective(host):
16+
config = get_config(host)
17+
18+
assert u'memory_limit => -1 => -1' in config
19+
assert u'opcache.enable_cli => On => On' in config
20+
assert u'opcache.jit => disable => disable' in config
21+
assert u'opcache.jit_buffer_size => 128M => 128M' in config
922

1023
def get_config(host):
1124
return host.run('php -i').stdout

0 commit comments

Comments
 (0)