increase slow async test timeout

(cherry picked from commit 24ca7349e37b29a94ba36cfef4f5aaf2dd5bf6b8)
This commit is contained in:
laokz 2024-11-03 16:07:23 +08:00 committed by openeuler-sync-bot
parent 1e92fee671
commit 51688c68ed
2 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ index 54b9222..49628c5 100644
exports['Async'] = {
'no progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
+ this.timeout(80000);
var startTime = new Date().valueOf();
@ -16,7 +16,7 @@ index 54b9222..49628c5 100644
},
'with progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
+ this.timeout(80000);
var percents = [];
var progress = function(percent) {

View File

@ -3,7 +3,7 @@
%global enable_tests 1
Name: nodejs-fast-levenshtein
Version: 1.1.3
Release: 2
Release: 3
Summary: Efficient implementation of Levenshtein algorithm
License: MIT
URL: https://github.com/hiddentao/fast-levenshtein
@ -48,6 +48,9 @@ cp -pr package.json *.js \
%{nodejs_sitelib}/%{packagename}
%changelog
* Mon Nov 04 2024 laokz <zhangkai@iscas.ac.cn> - 1.1.3-3
- increase slow async test timeout
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.1.3-2
- %prep no longer patched with git