We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a196d3f commit a0895deCopy full SHA for a0895de
1 file changed
test/container/test_php_config.py
@@ -1,11 +1,24 @@
1
import pytest
2
3
@pytest.mark.php_cli
4
+@pytest.mark.php_nts
5
def test_configuration_is_effective(host):
6
config = get_config(host)
7
8
assert u'memory_limit => -1 => -1' in config
9
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
22
23
def get_config(host):
24
return host.run('php -i').stdout
0 commit comments