Jira (PUP-8959) FastGettext.default_text_domain order dependent test failure

3 views
Skip to first unread message

Josh Cooper (JIRA)

unread,
Jun 26, 2018, 5:18:05 PM6/26/18
to puppe...@googlegroups.com
Josh Cooper updated an issue
 
Puppet / Bug PUP-8959
FastGettext.default_text_domain order dependent test failure
Change By: Josh Cooper
Summary: FastGetext FastGettext .default_text_domain appears to be unset order dependent test failure
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Thomas Hallgren (JIRA)

unread,
Jun 26, 2018, 6:13:03 PM6/26/18
to puppe...@googlegroups.com
Thomas Hallgren commented on Bug PUP-8959
 
Re: FastGettext.default_text_domain order dependent test failure

Josh Cooper I get the same error using that command on commit b811907. The parent commit cee544a however, succeeds without error.  The culprit commit is part PR-6796 on ticket PUP-8672.

Michael Smith (JIRA)

unread,
Jun 27, 2018, 1:25:03 PM6/27/18
to puppe...@googlegroups.com
Michael Smith commented on Bug PUP-8959

So maybe we need Puppet::GettextConfig.create_default_text_domain in the after(:each) block of those tests?

Michael Smith (JIRA)

unread,
Jun 27, 2018, 2:16:03 PM6/27/18
to puppe...@googlegroups.com
Michael Smith commented on Bug PUP-8959

I can fix the particular failure Josh found. Trying to track down how the original failure happens because that code path should ensure there's a default text domain setup.

Michael Smith (JIRA)

unread,
Jun 27, 2018, 2:26:03 PM6/27/18
to puppe...@googlegroups.com
Michael Smith commented on Bug PUP-8959

Put up a PR to fix the thing Josh found. Not sure it's sufficient, as I haven't reproduced the original error message.

Josh Cooper (JIRA)

unread,
Jun 19, 2019, 1:17:04 PM6/19/19
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-8959

Can't reproduce on master, so the immediate issue is fixed in https://github.com/puppetlabs/puppet/commit/72c804feb4327d8a4502ba2de477366e78128981 merged to 5.5.x and first released in 5.5.7

Josh Cooper (JIRA)

unread,
Jun 19, 2019, 1:17:04 PM6/19/19
to puppe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages