!17 [sync] PR-13: 申请增大async测试超时
From: @openeuler-sync-bot Reviewed-by: @wang--ge Signed-off-by: @wang--ge
This commit is contained in:
commit
a7b567ac56
@ -7,7 +7,7 @@ index 54b9222..49628c5 100644
|
|||||||
exports['Async'] = {
|
exports['Async'] = {
|
||||||
'no progress callback': function(done) {
|
'no progress callback': function(done) {
|
||||||
- this.timeout(20000);
|
- this.timeout(20000);
|
||||||
+ this.timeout(40000);
|
+ this.timeout(80000);
|
||||||
|
|
||||||
var startTime = new Date().valueOf();
|
var startTime = new Date().valueOf();
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ index 54b9222..49628c5 100644
|
|||||||
},
|
},
|
||||||
'with progress callback': function(done) {
|
'with progress callback': function(done) {
|
||||||
- this.timeout(20000);
|
- this.timeout(20000);
|
||||||
+ this.timeout(40000);
|
+ this.timeout(80000);
|
||||||
|
|
||||||
var percents = [];
|
var percents = [];
|
||||||
var progress = function(percent) {
|
var progress = function(percent) {
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
Name: nodejs-fast-levenshtein
|
Name: nodejs-fast-levenshtein
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Efficient implementation of Levenshtein algorithm
|
Summary: Efficient implementation of Levenshtein algorithm
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/hiddentao/fast-levenshtein
|
URL: https://github.com/hiddentao/fast-levenshtein
|
||||||
@ -48,6 +48,9 @@ cp -pr package.json *.js \
|
|||||||
%{nodejs_sitelib}/%{packagename}
|
%{nodejs_sitelib}/%{packagename}
|
||||||
|
|
||||||
%changelog
|
%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
|
* Web 09 Jun 2021 zhaoyao<zhaoyao32@huawei.com> - 1.1.3-2
|
||||||
- %prep no longer patched with git
|
- %prep no longer patched with git
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user