Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(651)

Issue 1152383003: Simple memory testing for gae/wrapper (Closed)

Created:
5 years, 7 months ago by iannucci
Modified:
5 years, 6 months ago
Reviewers:
dnj, M-A Ruel, vadimsh
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/infra/infra.git@better_context_lite
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Simple memory testing for gae/wrapper Provides partial implementations of Memcache, TaskQueue and Datastore. Most missing things I just didn't care to implement... Datastore queries are conspicuously absent, and I'll be doing those in a separate CL. R=maruel@chromium.org, vadimsh@chromium.org BUG= Committed: https://chromium.googlesource.com/infra/infra/+/f4e4857179f3e4f94f224cde281ae8e31643b921

Patch Set 1 #

Patch Set 2 : presubmit happy #

Patch Set 3 : Remove unused code (will be used for queries in separate CL) #

Patch Set 4 : use funnybase directly #

Total comments: 19

Patch Set 5 : fixes #

Total comments: 101

Patch Set 6 : rebase #

Patch Set 7 : fix test #

Patch Set 8 : fix imports #

Patch Set 9 : eg_test.go too #

Patch Set 10 : make plist more accurate #

Patch Set 11 : fix stuff #

Patch Set 12 : fix capitalization #

Total comments: 26

Patch Set 13 : fixes #

Total comments: 20

Patch Set 14 : final fixes? #

Total comments: 48

Patch Set 15 : even more whitespace fixes #

Patch Set 16 : be internally consistent #

Total comments: 14

Patch Set 17 : #

Total comments: 5

Patch Set 18 : rename reciever #

Patch Set 19 : document WITH CODEZ #

Patch Set 20 : more checks, fewer banners #

Patch Set 21 : #

Patch Set 22 : line #

Patch Set 23 : fix goop #

Patch Set 24 : add go-slab dependency #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4118 lines, -5 lines) Patch
M go/Goopfile View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -0 lines 0 comments Download
M go/Goopfile.lock View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 1 chunk +2 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/meta/eg_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +54 lines, -0 lines 0 comments Download
D go/src/infra/gae/libs/meta/meta.infra_testing View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/README.md View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +97 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/binutils.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +68 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/binutils_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +54 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/context.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +160 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/datastore.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +180 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/datastore_data.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +451 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/datastore_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +524 lines, -0 lines 0 comments Download
A + go/src/infra/gae/libs/wrapper/memory/doc.go View 1 chunk +3 lines, -3 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +91 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/globalinfo.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +41 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/internal/goon/goon.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +104 lines, -0 lines 0 comments Download
A + go/src/infra/gae/libs/wrapper/memory/internal/goon/goon.infra_testing View 1 2 3 4 5 6 7 8 9 10 11 12 13 0 chunks +-1 lines, --1 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/key.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +236 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/key_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +51 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/memcache.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +186 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/memcache_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +219 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/memory.infra_testing View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +4 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/plist.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +367 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/plist_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +86 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/taskqueue.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +309 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/taskqueue_data.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +264 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/memory/taskqueue_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +472 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/unsafe/doc.go View 1 chunk +8 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/unsafe/memcache.go View 1 chunk +58 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/unsafe/memcache_test.go View 1 chunk +24 lines, -0 lines 0 comments Download
A go/src/infra/gae/libs/wrapper/unsafe/unsafe.infra_testing View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (9 generated)
iannucci
PTAL, depends on https://codereview.chromium.org/1151473003/
5 years, 7 months ago (2015-05-24 18:15:21 UTC) #2
Vadim Sh.
On 2015/05/24 18:15:21, iannucci wrote: > PTAL, depends on https://codereview.chromium.org/1151473003/ Stats (+4113 lines, -3 lines): ...
5 years, 7 months ago (2015-05-24 19:14:19 UTC) #3
Vadim Sh.
Glanced over. Since it's for testing only, I do not care very much... If it ...
5 years, 7 months ago (2015-05-24 19:43:27 UTC) #4
iannucci
On 2015/05/24 at 19:14:19, vadimsh wrote: > On 2015/05/24 18:15:21, iannucci wrote: > > PTAL, ...
5 years, 7 months ago (2015-05-24 20:04:57 UTC) #5
iannucci
https://codereview.chromium.org/1152383003/diff/60001/go/src/infra/gae/libs/wrapper/memory/binutils.go File go/src/infra/gae/libs/wrapper/memory/binutils.go (right): https://codereview.chromium.org/1152383003/diff/60001/go/src/infra/gae/libs/wrapper/memory/binutils.go#newcode18 go/src/infra/gae/libs/wrapper/memory/binutils.go:18: buf.WriteString(s) On 2015/05/24 at 19:43:26, Vadim Sh. wrote: > ...
5 years, 7 months ago (2015-05-24 20:33:55 UTC) #6
M-A Ruel
https://codereview.chromium.org/1152383003/diff/80001/go/Goopfile.lock File go/Goopfile.lock (right): https://codereview.chromium.org/1152383003/diff/80001/go/Goopfile.lock#newcode9 go/Goopfile.lock:9: github.com/luci/gkvlite #cf7fa95b097418138e80474e217d865e2eb853ac https://github.com/luci/gkvlite/blob/master/tools/view/view.go is an example of what sucks ...
5 years, 7 months ago (2015-05-25 18:21:11 UTC) #7
iannucci
PTAL, rebased + fixed lots https://codereview.chromium.org/1152383003/diff/80001/go/Goopfile.lock File go/Goopfile.lock (right): https://codereview.chromium.org/1152383003/diff/80001/go/Goopfile.lock#newcode9 go/Goopfile.lock:9: github.com/luci/gkvlite #cf7fa95b097418138e80474e217d865e2eb853ac On 2015/05/25 ...
5 years, 7 months ago (2015-05-27 19:33:33 UTC) #8
M-A Ruel
https://codereview.chromium.org/1152383003/diff/80001/go/src/infra/gae/libs/wrapper/memory/datastore_data.go File go/src/infra/gae/libs/wrapper/memory/datastore_data.go (right): https://codereview.chromium.org/1152383003/diff/80001/go/src/infra/gae/libs/wrapper/memory/datastore_data.go#newcode79 go/src/infra/gae/libs/wrapper/memory/datastore_data.go:79: BrokenFeatures: wrapper.NewBrokenFeatures(newDSError(pb.Error_INTERNAL_ERROR)), On 2015/05/27 19:33:31, iannucci wrote: > On ...
5 years, 7 months ago (2015-05-27 20:14:48 UTC) #9
iannucci
ptal https://codereview.chromium.org/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go File go/src/infra/gae/libs/meta/eg_test.go (right): https://codereview.chromium.org/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go#newcode18 go/src/infra/gae/libs/meta/eg_test.go:18: func TestGetEntityGroupVersion(t *testing.T) { On 2015/05/27 at 20:14:47, ...
5 years, 7 months ago (2015-05-27 21:36:22 UTC) #10
iannucci
*hopefully-not-annoying ping* :D
5 years, 6 months ago (2015-05-28 20:55:21 UTC) #11
M-A Ruel
https://chromiumcodereview.appspot.com/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go File go/src/infra/gae/libs/meta/eg_test.go (right): https://chromiumcodereview.appspot.com/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go#newcode18 go/src/infra/gae/libs/meta/eg_test.go:18: func TestGetEntityGroupVersion(t *testing.T) { On 2015/05/27 21:36:22, iannucci wrote: ...
5 years, 6 months ago (2015-05-28 22:42:39 UTC) #12
iannucci
thanks! ptal again :) https://codereview.chromium.org/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go File go/src/infra/gae/libs/meta/eg_test.go (right): https://codereview.chromium.org/1152383003/diff/220001/go/src/infra/gae/libs/meta/eg_test.go#newcode18 go/src/infra/gae/libs/meta/eg_test.go:18: func TestGetEntityGroupVersion(t *testing.T) { On ...
5 years, 6 months ago (2015-05-28 23:00:35 UTC) #13
M-A Ruel
https://chromiumcodereview.appspot.com/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md File go/src/infra/gae/libs/wrapper/memory/README.md (right): https://chromiumcodereview.appspot.com/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md#newcode6 go/src/infra/gae/libs/wrapper/memory/README.md:6: =============================== You should use ---- https://chromiumcodereview.appspot.com/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md#newcode40 go/src/infra/gae/libs/wrapper/memory/README.md:40: ========================= You ...
5 years, 6 months ago (2015-05-29 02:01:24 UTC) #14
iannucci
ptal again... https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md File go/src/infra/gae/libs/wrapper/memory/README.md (right): https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md#newcode6 go/src/infra/gae/libs/wrapper/memory/README.md:6: =============================== On 2015/05/29 at 02:01:22, M-A Ruel ...
5 years, 6 months ago (2015-05-29 02:42:29 UTC) #15
iannucci
On 2015/05/29 at 02:42:29, iannucci wrote: > ptal again... > > https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/README.md > File go/src/infra/gae/libs/wrapper/memory/README.md ...
5 years, 6 months ago (2015-05-29 02:44:01 UTC) #16
M-A Ruel
https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go File go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go (right): https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go#newcode27 go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go:27: func (bs *memStore) Snapshot() *memStore { From what I ...
5 years, 6 months ago (2015-05-29 16:16:19 UTC) #17
iannucci
ptal again https://codereview.chromium.org/1152383003/diff/300001/go/src/infra/gae/libs/wrapper/memory/README.md File go/src/infra/gae/libs/wrapper/memory/README.md (right): https://codereview.chromium.org/1152383003/diff/300001/go/src/infra/gae/libs/wrapper/memory/README.md#newcode2 go/src/infra/gae/libs/wrapper/memory/README.md:2: --------------------------- On 2015/05/29 at 16:16:18, M-A Ruel ...
5 years, 6 months ago (2015-05-29 16:33:14 UTC) #19
iannucci
On 2015/05/29 at 16:16:19, maruel wrote: > https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go > File go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go (right): > > https://codereview.chromium.org/1152383003/diff/260001/go/src/infra/gae/libs/wrapper/memory/gkvlite_utils.go#newcode27 ...
5 years, 6 months ago (2015-05-29 16:35:01 UTC) #20
iannucci
On 2015/05/29 at 16:33:14, iannucci wrote: > ptal again > > https://codereview.chromium.org/1152383003/diff/300001/go/src/infra/gae/libs/wrapper/memory/README.md > File go/src/infra/gae/libs/wrapper/memory/README.md ...
5 years, 6 months ago (2015-05-29 16:37:11 UTC) #21
M-A Ruel
Without any further suspense ... lgtm! BTW, you can click "Done" instead of typing "done" ...
5 years, 6 months ago (2015-05-29 18:16:53 UTC) #22
iannucci
On 2015/05/29 at 18:16:53, maruel wrote: > Without any further suspense ... lgtm! > > ...
5 years, 6 months ago (2015-05-29 20:13:36 UTC) #23
M-A Ruel
lgtm
5 years, 6 months ago (2015-05-29 20:37:37 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152383003/410001
5 years, 6 months ago (2015-05-29 20:41:34 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: infra_tester on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_tester/builds/1861)
5 years, 6 months ago (2015-05-29 20:46:02 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152383003/430001
5 years, 6 months ago (2015-05-29 20:57:56 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: infra_tester on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/infra_tester/builds/1864)
5 years, 6 months ago (2015-05-29 21:04:10 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1152383003/450001
5 years, 6 months ago (2015-05-29 21:12:51 UTC) #36
commit-bot: I haz the power
5 years, 6 months ago (2015-05-29 21:16:42 UTC) #37
Message was sent while issue was closed.
Committed patchset #24 (id:450001) as
https://chromium.googlesource.com/infra/infra/+/f4e4857179f3e4f94f224cde281ae...

Powered by Google App Engine
This is Rietveld 408576698