Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
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
Joshua
wendelin.core
Commits
1da1b412
Commit
1da1b412
authored
Jun 07, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9f285c38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+4
-4
No files found.
wcfs/wcfs_test.py
View file @
1da1b412
...
...
@@ -961,9 +961,9 @@ def test_wcfs():
print
(
'
\
n
\
n
\
n
\
n
WATCH+COMMIT
\
n
\
n
\
n
\
n
'
)
# watched + commit -> re
ceive pin messages
# watched + commit -> re
ad -> receive pin messages; read is stuck until pins are acknowledged
wl
=
t
.
openwatch
()
wl
.
watch
(
zf
,
t
.
head
)
wl
.
watch
(
zf
,
at3
);
assert
at3
==
t
.
head
f
.
assertCache
([
1
,
1
,
1
,
1
])
t
.
change
(
zf
,
{
2
:
'4c'
,
5
:
'4f'
})
# FIXME + 4a after δbtree works
at4
=
t
.
commit
()
...
...
@@ -973,7 +973,7 @@ def test_wcfs():
wg
=
sync
.
WorkGroup
(
ctx
)
blk
=
2
pinok
=
{
2
:
at
4
}
pinok
=
{
2
:
at
3
}
blk_data
=
f
.
blk
(
blk
)
assert
f
.
cached
()[
blk
]
==
0
...
...
@@ -1029,7 +1029,7 @@ def test_wcfs():
wg
.
go
(
_
)
wg
.
wait
()
assert
ev
==
[
'read pre'
,
'pin rx'
,
'pin ack pre'
,
'read
'
]
assert
ev
==
[
'read pre'
,
'pin rx'
,
'pin ack pre'
,
'read
4'
]
# 4 - read @head
assert
f
.
cached
()[
blk
]
>
0
f
.
assertBlk
(
blk
,
'4c'
)
...
...
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