Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc0787d4

Browse files
authored
[COR-82] Fix sanitizer test run (#22199)
1 parent5971986 commitc0787d4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/js/client/aql/aql-async-prefetch-leaser-reuse.js renamed to tests/js/client/aql/aql-async-prefetch-leaser-reuse-nocluster.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
// //////////////////////////////////////////////////////////////////////////////
2424
constjsunity=require("jsunity");
2525
constinternal=require("internal");
26-
consterrors=internal.errors;
2726
constdb=require("@arangodb").db;
27+
let{ versionHas}=require('@arangodb/test-helper');
28+
constisInstr=versionHas('asan')||versionHas('tsan')||versionHas('coverage');
2829

2930
constcolNameA="UnitTestVertexCollectionA";
3031
constcolNameB="UnitTestEdgeCollectionB";
@@ -96,7 +97,8 @@ function asyncPrefetchReuseTestSuite() {
9697
// Running the above query in a loop previously lead to random errors and crashes
9798
// due to the reuse of the leased Builders and Strings in the transaction
9899
// context. This test should tickle TSAN if such a problem persists.
99-
for(leti=1;i<100;i++){
100+
letnum_runs=isInstr ?10 :50;
101+
for(leti=1;i<num_runs;i++){
100102
db._query(q,binds);
101103
}
102104
},

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp