From e40641d28918d739b6feeed11a33a653ec353d49 Mon Sep 17 00:00:00 2001 From: Kyle Ellrott Date: Sat, 11 Jan 2020 13:45:01 -0800 Subject: [PATCH] Fixing some more errors in the mongo core engine implementation --- conformance/tests/ot_select.py | 2 +- mongo/index.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/conformance/tests/ot_select.py b/conformance/tests/ot_select.py index 109cff14..1e9bfd75 100644 --- a/conformance/tests/ot_select.py +++ b/conformance/tests/ot_select.py @@ -27,7 +27,7 @@ def test_simple(O): if row.label != "Reaction": errors.append("Wrong node label") if count != 4: - errors.append("Incorrect count") + errors.append("Incorrect count %d != %d" % (count, 4)) return errors diff --git a/mongo/index.go b/mongo/index.go index ec8e1bd7..ef886588 100644 --- a/mongo/index.go +++ b/mongo/index.go @@ -304,6 +304,7 @@ func (mg *Graph) VertexLabelScan(ctx context.Context, label string) chan string default: } cursor.Decode(&result) + out <- result["_id"].(string) //BUG: return stuff here } if err := cursor.Close(context.TODO()); err != nil {