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

test failure for utf8 notes #37

Open
guillomovitch opened this issue Jan 4, 2022 · 0 comments
Open

test failure for utf8 notes #37

guillomovitch opened this issue Jan 4, 2022 · 0 comments

Comments

@guillomovitch
Copy link

ok 3 - Register and unregister

Subtest: Job results

Use of Mojo::mysql::PubSub is highly EXPERIMENTAL and should be considered an experiment at /usr/share/perl5/vendor_perl/Mojo/mysql.pm line 39.
ok 1 - job dequeued
ok 2 - same id
ok 3 - not finished
ok 4 - not failed
ok 5 - right result
not ok 6 - right note
# Failed test 'right note'
# at t/mysql.t line 81.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 125.
# Structures begin differing at:
# $got->{foo} = Does not exist
# $expected->{foo} = '🤬'
ok 7 - no more results
ok 8 - not failed
ok 9 - job dequeued
ok 10 - same id
ok 11 - not finished
ok 12 - right result
ok 13 - no more results
ok 14 - right result
not ok 15 - right note
# Failed test 'right note'
# at t/mysql.t line 100.
Wide character in print at /usr/share/perl5/vendor_perl/Test2/Formatter/TAP.pm line 125.
# Structures begin differing at:
# $got->{foo} = Does not exist
# $expected->{foo} = '🤬'
ok 16 - no more results
ok 17 - not failed
ok 18 - not finished
ok 19 - failed
ok 20 - job no longer exists
ok 21 - not failed
1..21
# Looks like you failed 2 tests of 21.

This is happening with Minion::Backed::mysql 1.000, and mariadb 10.6.5, on a x86_64 linux host.

Interrupting the test with the debugger before the comparison occurs shows than the minion_notes table is empty, whereas I guess it should contains at least one record. I don't know if this has anything to do with issue #32, but the type for the note_value is text.

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

No branches or pull requests

1 participant