From b8832f723ed9b3b5fed567fa26ed20fb8f837dee Mon Sep 17 00:00:00 2001 From: Alexey Palazhchenko Date: Mon, 11 Dec 2023 21:06:01 +0400 Subject: [PATCH] Fix tests --- cmd/envtool/tests_test.go | 2 +- integration/cursors/tailable_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/envtool/tests_test.go b/cmd/envtool/tests_test.go index 3b61ce642254..cee5927cb269 100644 --- a/cmd/envtool/tests_test.go +++ b/cmd/envtool/tests_test.go @@ -228,7 +228,7 @@ func TestShardTestFuncs(t *testing.T) { testFuncs, err := listTestFuncs(filepath.Join("..", "..", "integration")) require.NoError(t, err) assert.Contains(t, testFuncs, "TestQueryCompatLimit") - assert.Contains(t, testFuncs, "TestGetMoreCommand") + assert.Contains(t, testFuncs, "TestCursorsGetMoreCommand") t.Run("InvalidIndex", func(t *testing.T) { t.Parallel() diff --git a/integration/cursors/tailable_test.go b/integration/cursors/tailable_test.go index b23b1053b8f0..9a4318f63bcd 100644 --- a/integration/cursors/tailable_test.go +++ b/integration/cursors/tailable_test.go @@ -41,7 +41,7 @@ func TestCursorsTailable(t *testing.T) { Code: 2, Name: "BadValue", Message: "error processing query: " + - "ns=TestTailable-NonCapped.TestTailable-NonCappedTree: $and\nSort: {}\nProj: {}\n " + + "ns=TestCursorsTailable-NonCapped.TestCursorsTailable-NonCappedTree: $and\nSort: {}\nProj: {}\n " + "tailable cursor requested on non capped collection", } integration.AssertEqualAltCommandError(t, expected, "tailable cursor requested on non capped collection", err)