Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(9851)

Issue 65870043: code review 65870043: manualtest/filelock: extend test so only one copy need ...

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 2 months ago by wathiede
Modified:
10 years, 1 month ago
Reviewers:
nigeltao
CC:
golang-codereviews, gobot, nigeltao, bradfitz
Visibility:
Public.

Description

leveldb/db: move manualtest/filelock to standard go test. A by-product of this is that developers no longer need to run multiple copies of filelock, the test spawns additional lockers as necessary.

Patch Set 1 #

Patch Set 2 : diff -r b6ab03c49ef6 https://code.google.com/p/leveldb-go #

Patch Set 3 : diff -r b6ab03c49ef6 https://code.google.com/p/leveldb-go #

Total comments: 2

Patch Set 4 : diff -r b6ab03c49ef6 https://code.google.com/p/leveldb-go #

Total comments: 4

Patch Set 5 : diff -r b6ab03c49ef6 https://code.google.com/p/leveldb-go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+79 lines, -52 lines) Patch
A leveldb/db/file_lock_test.go View 1 2 3 4 1 chunk +79 lines, -0 lines 0 comments Download
R manualtest/filelock/main.go View 1 2 3 1 chunk +0 lines, -52 lines 0 comments Download

Messages

Total messages: 15
wathiede
Hello golang-codereviews@googlegroups.com, I'd like you to review this change to https://code.google.com/p/leveldb-go
10 years, 2 months ago (2014-02-19 04:10:00 UTC) #1
gobot
R=nigeltao@golang.org (assigned by r@golang.org)
10 years, 2 months ago (2014-02-19 19:21:48 UTC) #2
nigeltao
Thanks for doing this. This was easier then I was expecting. https://codereview.appspot.com/65870043/diff/40001/manualtest/filelock/main.go File manualtest/filelock/main.go (right): ...
10 years, 2 months ago (2014-02-24 01:13:43 UTC) #3
bradfitz
Or, as a Go test: https://github.com/camlistore/lock https://github.com/camlistore/lock/blob/master/lock_test.go
10 years, 2 months ago (2014-02-24 05:16:55 UTC) #4
wathiede
On 2014/02/24 05:16:55, bradfitz wrote: > Or, as a Go test: > > https://github.com/camlistore/lock > ...
10 years, 2 months ago (2014-03-02 03:58:00 UTC) #5
nigeltao
https://codereview.appspot.com/65870043/diff/50001/leveldb/db/file_lock_test.go File leveldb/db/file_lock_test.go (right): https://codereview.appspot.com/65870043/diff/50001/leveldb/db/file_lock_test.go#newcode23 leveldb/db/file_lock_test.go:23: // Test locks a file, spawns a second process ...
10 years, 1 month ago (2014-03-05 05:47:18 UTC) #6
wathiede
https://codereview.appspot.com/65870043/diff/50001/leveldb/db/file_lock_test.go File leveldb/db/file_lock_test.go (right): https://codereview.appspot.com/65870043/diff/50001/leveldb/db/file_lock_test.go#newcode23 leveldb/db/file_lock_test.go:23: // Test locks a file, spawns a second process ...
10 years, 1 month ago (2014-03-06 04:42:33 UTC) #7
nigeltao
LGTM, thanks.
10 years, 1 month ago (2014-03-07 05:01:27 UTC) #8
nigeltao
Wait, this doesn't work for me (linux/amd64). Does "go test" pass for you? $ go ...
10 years, 1 month ago (2014-03-07 05:11:12 UTC) #9
wathiede
On 2014/03/07 05:11:12, nigeltao wrote: > Wait, this doesn't work for me (linux/amd64). Does "go ...
10 years, 1 month ago (2014-03-07 18:30:19 UTC) #10
wathiede
On 2014/03/07 18:30:19, wathiede wrote: > On 2014/03/07 05:11:12, nigeltao wrote: > > Wait, this ...
10 years, 1 month ago (2014-03-07 21:30:02 UTC) #11
wathiede
On 2014/03/07 21:30:02, wathiede wrote: > On 2014/03/07 18:30:19, wathiede wrote: > > On 2014/03/07 ...
10 years, 1 month ago (2014-03-07 21:41:51 UTC) #12
wathiede
On 2014/03/07 21:41:51, wathiede wrote: > On 2014/03/07 21:30:02, wathiede wrote: > > On 2014/03/07 ...
10 years, 1 month ago (2014-03-11 00:11:54 UTC) #13
nigeltao
On Tue, Mar 11, 2014 at 11:11 AM, <couchmoney@gmail.com> wrote: > This is the CL ...
10 years, 1 month ago (2014-03-11 09:30:52 UTC) #14
nigeltao
10 years, 1 month ago (2014-03-11 09:31:24 UTC) #15
*** Submitted as
https://code.google.com/p/leveldb-go/source/detail?r=be79c82176ff ***

    leveldb/db: move manualtest/filelock to standard go test. A by-product
of this is that developers no longer need to run multiple copies of
filelock, the test spawns additional lockers as necessary.

LGTM=nigeltao
R=golang-codereviews, gobot, nigeltao, bradfitz
CC=golang-codereviews
https://codereview.appspot.com/65870043

Committer: Nigel Tao <nigeltao@golang.org>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b