Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e119f819
Commit
e119f819
authored
Sep 21, 2012
by
John Esmet
Committed by
Yoni Fogel
Apr 17, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix flakey test
git-svn-id:
file:///svn/toku/tokudb@48123
c7de825b-a66e-492c-adef-691d508d4ae1
parent
302aff8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ft/tests/cachetable-prefetch-checkpoint-test.cc
ft/tests/cachetable-prefetch-checkpoint-test.cc
+4
-0
No files found.
ft/tests/cachetable-prefetch-checkpoint-test.cc
View file @
e119f819
...
@@ -75,6 +75,10 @@ static void cachetable_prefetch_checkpoint_test(int n, enum cachetable_dirty dir
...
@@ -75,6 +75,10 @@ static void cachetable_prefetch_checkpoint_test(int n, enum cachetable_dirty dir
r
=
toku_cachetable_openf
(
&
f1
,
ct
,
fname1
,
O_RDWR
|
O_CREAT
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
assert
(
r
==
0
);
r
=
toku_cachetable_openf
(
&
f1
,
ct
,
fname1
,
O_RDWR
|
O_CREAT
,
S_IRWXU
|
S_IRWXG
|
S_IRWXO
);
assert
(
r
==
0
);
create_dummy_functions
(
f1
);
create_dummy_functions
(
f1
);
// disable the eviction thread. this thread was written to assume
// evictions hapepn on the client thread, which is no longer true.
evictor_test_helpers
::
disable_ev_thread
(
&
ct
->
ev
);
// prefetch block n+1. this will take 10 seconds.
// prefetch block n+1. this will take 10 seconds.
{
{
CACHEKEY
key
=
make_blocknum
(
n
+
1
);
CACHEKEY
key
=
make_blocknum
(
n
+
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment