Comments (11)
另外想问下,这个扩展有没有考虑或解决 PHP 多进程并发的问题?
from idgenerator.
phpize 过程中出现的 warning 是不是可以忽略?
from idgenerator.
make test 有失败的情况出现。
Number of tests : 4 4
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 25.0%) ( 25.0%)
Tests passed : 3 ( 75.0%) ( 75.0%)
from idgenerator.
warning可以忽略,多进程使用没问题,有加锁处理
from idgenerator.
warning可以忽略,多进程使用没问题,有加锁处理
好的,谢谢。
from idgenerator.
失败的case可以提供下编号吗?我这边测试没有失败
from idgenerator.
失败的case可以提供下编号吗?我这边测试没有失败
可以多 make test 几次试试。部分失败的次数多一点,全部成功的次数很少。
语言:PHP
操作系统:docker 镜像:php:7.4-fpm-alpine
➜ PHP git:(master) ✗ make test
Build complete.
Don't forget to run 'make test'.
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 851
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 852
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 878
=====================================================================
PHP : /usr/local/bin/php
CWD : /root/IdGenerator/PHP
Extra dirs :
VALGRIND : Not used
TIME START 2023-03-20 14:42:38
PASS Check for snowdrift presence [tests/001.phpt]
PASS Check for snowdrift unique [tests/002.phpt]
FAIL Check for snowdrift serial [tests/003.phpt]
PASS Check for snowdrift batch get unique [tests/004.phpt]
TIME END 2023-03-20 14:42:38
=====================================================================
TEST RESULT SUMMARY
Exts skipped : 0
Exts tested : 1
Number of tests : 4 4
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 1 ( 25.0%) ( 25.0%)
Tests passed : 3 ( 75.0%) ( 75.0%)
Time taken : 0 seconds
=====================================================================
FAILED TEST SUMMARY
Check for snowdrift serial [tests/003.phpt]
You may have found a problem in PHP.
This report can be automatically sent to the PHP QA team at
http://qa.php.net/reports and http://news.php.net/php.qa.reports
This gives us a better understanding of PHP's behavior.
If you don't want to send the report immediately you can choose
option "s" to save it. You can then email it to [email protected] later.
Do you want to send this report now? [Yns]: y
Please enter your email address.
(Your address will be mangled so that it will not go out on any
mailinglist in plain text): [email protected]
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 985
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 989
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 992
PHP Warning: system() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 1003
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 1005
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 1010
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 1017
PHP Warning: shell_exec() has been disabled for security reasons in /root/IdGenerator/PHP/run-tests.php on line 1026
Posting to http://qa.php.net/buildtest-process.php
Thank you for helping to make PHP better.
make: *** [Makefile:131: test] Error 1
from idgenerator.
失败的case可以提供下编号吗?我这边测试没有失败
上面我提供的信息够吗?不够的话,这个编号我应该怎么提供?
from idgenerator.
看到了,我看下
from idgenerator.
003这个是针对传统算法的单测,这个算法不适用,我已经移除了。感谢反馈
from idgenerator.
003这个是针对传统算法的单测,这个算法不适用,我已经移除了。感谢反馈
谢谢解答。
from idgenerator.
Related Issues (20)
- 请问安装完PHP版本的扩展之后,对应的.ini配置文件是放在哪里 HOT 1
- 压测结果 HOT 1
- 单核跑极限是怎么限制的,我只能跑10w/s HOT 4
- 自动注册WorkerId疑问? HOT 2
- 遇到一个奇怪的问题,hash非常不均匀 HOT 6
- golang workID type mismatch HOT 2
- 请问下时间回拨后是不是不能保证id递增? HOT 13
- ID 使用ORM 的 default 字段生成,在几十秒内生成的 ID 都一样? HOT 2
- Go 导入问题 HOT 3
- c# 请问如果我是单台服务器使用只要生成最短(10-12)位就可以的递增ID就可以 HOT 3
- C# 版的SnowWorkerM1.cs文件第109行-第116行是个BUG吗? HOT 5
- SOSO:5个并发的情况下出现重复数据 HOT 3
- Maybe better to upload to Pypi / npm? HOT 1
- 1
- 如何指定生成单号的长度 HOT 1
- 生成id重复 HOT 4
- 请问有lua版本的吗? HOT 1
- NextId有重复 HOT 1
- I'm sorry I'm asking this question here HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idgenerator.