[Regression] Incorrect filename in test case comment

Started by Suraj Kharageover 2 years ago5 messageshackers
Jump to latest
#1Suraj Kharage
suraj.kharage@enterprisedb.com

Hi,

While browsing the test cases, found that the incorrect filename was there
in the test case comment.
The below commit added the custom hash opclass in insert.sql,

--------------------------------------------------------------

*commit fafec4cce814b9b15991b62520dc5e5e84655a8aAuthor: Alvaro Herrera
<alvherre@alvh.no-ip.org <alvherre@alvh.no-ip.org>>Date: Fri Apr 13
12:27:22 2018 -0300 Use custom hash opclass for hash partition pruning*
--------------------------------------------------------------

and later below commit moved those to test_setup.sql

--------------------------------------------------------------

*commit cc50080a828dd4791b43539f5a0f976e535d147cAuthor: Tom Lane
<tgl@sss.pgh.pa.us <tgl@sss.pgh.pa.us>>Date: Tue Feb 8 15:30:38 2022
-0500*

* Rearrange core regression tests to reduce cross-script dependencies. *
--------------------------------------------------------------

but we haven't changed the filename in other test cases.
Did the same in the attached patch.

--
--

Thanks & Regards,
Suraj kharage,

edbpostgres.com

Attachments:

Fix_file_name_in_test_case.patchapplication/octet-stream; name=Fix_file_name_in_test_case.patchDownload+6-0
#2Michael Paquier
michael@paquier.xyz
In reply to: Suraj Kharage (#1)
Re: [Regression] Incorrect filename in test case comment

On Wed, Sep 06, 2023 at 10:48:32AM +0530, Suraj Kharage wrote:

While browsing the test cases, found that the incorrect filename was there
in the test case comment.
The below commit added the custom hash opclass in insert.sql,

--- part_part_test_int4_ops and part_test_text_ops in insert.sql.
+-- part_part_test_int4_ops and part_test_text_ops in test_setup.sql.

Good catch, but part_part_test_int4_ops should be renamed to
part_test_int4_ops, removing the first "part_", no?
--
Michael

#3Daniel Gustafsson
daniel@yesql.se
In reply to: Suraj Kharage (#1)
Re: [Regression] Incorrect filename in test case comment

On 6 Sep 2023, at 07:18, Suraj Kharage <suraj.kharage@enterprisedb.com> wrote:

we haven't changed the filename in other test cases.
Did the same in the attached patch.

Pushed (along with a small typo fix), thanks!

--
Daniel Gustafsson

#4Daniel Gustafsson
daniel@yesql.se
In reply to: Michael Paquier (#2)
Re: [Regression] Incorrect filename in test case comment

On 6 Sep 2023, at 10:19, Michael Paquier <michael@paquier.xyz> wrote:

On Wed, Sep 06, 2023 at 10:48:32AM +0530, Suraj Kharage wrote:

While browsing the test cases, found that the incorrect filename was there
in the test case comment.
The below commit added the custom hash opclass in insert.sql,

--- part_part_test_int4_ops and part_test_text_ops in insert.sql.
+-- part_part_test_int4_ops and part_test_text_ops in test_setup.sql.

Good catch, but part_part_test_int4_ops should be renamed to
part_test_int4_ops, removing the first "part_", no?

Ah, seems we came to same conclusion when looking simultaneously, I just pushed
the fix with the typo fix.

--
Daniel Gustafsson

#5Suraj Kharage
suraj.kharage@enterprisedb.com
In reply to: Daniel Gustafsson (#4)
Re: [Regression] Incorrect filename in test case comment

Thanks Daniel and Michael.

On Wed, Sep 6, 2023 at 1:52 PM Daniel Gustafsson <daniel@yesql.se> wrote:

On 6 Sep 2023, at 10:19, Michael Paquier <michael@paquier.xyz> wrote:

On Wed, Sep 06, 2023 at 10:48:32AM +0530, Suraj Kharage wrote:

While browsing the test cases, found that the incorrect filename was

there

in the test case comment.
The below commit added the custom hash opclass in insert.sql,

--- part_part_test_int4_ops and part_test_text_ops in insert.sql.
+-- part_part_test_int4_ops and part_test_text_ops in test_setup.sql.

Good catch, but part_part_test_int4_ops should be renamed to
part_test_int4_ops, removing the first "part_", no?

Ah, seems we came to same conclusion when looking simultaneously, I just
pushed
the fix with the typo fix.

--
Daniel Gustafsson

--
--

Thanks & Regards,
Suraj kharage,

edbpostgres.com