Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reproduce file formatting (use flow style) #220

Merged
merged 1 commit into from Sep 14, 2020

Conversation

Totktonada
Copy link
Member

Set flow style (JSON-like) explicitly instead of block style to don't
break indentation.

Before the patch (incorrect):

- - app-tap/iconv.test.lua
- null

After the patch:

- [app-tap/iconv.test.lua, null]

The default was changed in 1.

Set flow style (JSON-like) explicitly instead of block style to don't
break indentation.

Before the patch (incorrect):

 | - - app-tap/iconv.test.lua
 | - null

After the patch:

 | - [app-tap/iconv.test.lua, null]

The default was changed in [1].

[1]: yaml/pyyaml#256
Copy link
Contributor

@avtikhon avtikhon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Alexander, thanks for the patch. I've checked the syntax, number of need entries to fix and patch in real run - all passed. Patch LGTM.

@Totktonada
Copy link
Member Author

Thanks!

@Totktonada Totktonada merged commit 461731d into master Sep 14, 2020
@Totktonada Totktonada deleted the Totktonada/fix-reproduce-file-formatting branch September 14, 2020 07:05
Totktonada added a commit to tarantool/tarantool that referenced this pull request Sep 14, 2020
Fixed formatting of reproduce files with recent pyyaml versions.

Background: test-run generates so called reproduce files in the
test/var/reproduce/ directory and accepts them as the argument of the
--reproduce option. It is convenient to share a reproducer for a problem
that appears when specific tests are run in a specific order.

tarantool/test-run#220
Totktonada added a commit to tarantool/tarantool that referenced this pull request Sep 14, 2020
Fixed formatting of reproduce files with recent pyyaml versions.

Background: test-run generates so called reproduce files in the
test/var/reproduce/ directory and accepts them as the argument of the
--reproduce option. It is convenient to share a reproducer for a problem
that appears when specific tests are run in a specific order.

tarantool/test-run#220
(cherry picked from commit a33cd1b)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Sep 14, 2020
Fixed formatting of reproduce files with recent pyyaml versions.

Background: test-run generates so called reproduce files in the
test/var/reproduce/ directory and accepts them as the argument of the
--reproduce option. It is convenient to share a reproducer for a problem
that appears when specific tests are run in a specific order.

tarantool/test-run#220
(cherry picked from commit a33cd1b)
Totktonada added a commit to tarantool/tarantool that referenced this pull request Sep 14, 2020
Fixed formatting of reproduce files with recent pyyaml versions.

Background: test-run generates so called reproduce files in the
test/var/reproduce/ directory and accepts them as the argument of the
--reproduce option. It is convenient to share a reproducer for a problem
that appears when specific tests are run in a specific order.

tarantool/test-run#220
(cherry picked from commit a33cd1b)
@Totktonada
Copy link
Member Author

Updated the test-run submodule in tarantool in 2.6.0-73-ga33cd1bd9, 2.5.1-72-g78b68f97c, 2.4.2-55-ged81ba6ef, 1.10.7-25-g83272871a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants