Giter VIP home page Giter VIP logo

Comments (11)

Sligcm avatar Sligcm commented on May 30, 2024

另外想问下,这个扩展有没有考虑或解决 PHP 多进程并发的问题?

from idgenerator.

Sligcm avatar Sligcm commented on May 30, 2024

phpize 过程中出现的 warning 是不是可以忽略?

from idgenerator.

Sligcm avatar Sligcm commented on May 30, 2024

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.

amuluowin avatar amuluowin commented on May 30, 2024

warning可以忽略,多进程使用没问题,有加锁处理

from idgenerator.

Sligcm avatar Sligcm commented on May 30, 2024

warning可以忽略,多进程使用没问题,有加锁处理

好的,谢谢。

from idgenerator.

amuluowin avatar amuluowin commented on May 30, 2024

失败的case可以提供下编号吗?我这边测试没有失败

from idgenerator.

Sligcm avatar Sligcm commented on May 30, 2024

失败的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.

Sligcm avatar Sligcm commented on May 30, 2024

失败的case可以提供下编号吗?我这边测试没有失败

上面我提供的信息够吗?不够的话,这个编号我应该怎么提供?

from idgenerator.

amuluowin avatar amuluowin commented on May 30, 2024

看到了,我看下

from idgenerator.

amuluowin avatar amuluowin commented on May 30, 2024

003这个是针对传统算法的单测,这个算法不适用,我已经移除了。感谢反馈

from idgenerator.

Sligcm avatar Sligcm commented on May 30, 2024

003这个是针对传统算法的单测,这个算法不适用,我已经移除了。感谢反馈

谢谢解答。

from idgenerator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.