Test failure on i686: Test_helperRun/support_OAuth2
Checklist
-
I'm using the latest version of the extension
- Extension version: glab 1.88.0 ()
- Operating system and version: Void Linux (rolling release)
-
Run the command in debug mode (like
DEBUG=true glab mr list) and attach any useful output
Summary
The Test_helperRun/support_OAuth2 test is failing:
--- FAIL: Test_helperRun (1.04s)
--- FAIL: Test_helperRun/support_OAuth2 (0.00s)
helper_test.go:444: capability[]=authtype
username=oauth2
password=some-access-token
password_expiry_utc=1772713260
oauth_refresh_token=some-refresh-token
helper_test.go:446:
Error Trace: /builddir/glab-1.88.0/internal/commands/auth/login/helper_test.go:446
Error: "capability[]=authtype\nusername=oauth2\npassword=some-access-token\npassword_expiry_utc=1772713260\noauth_refresh_token=some-refresh-token\n" does not contain "password_expiry_utc=1772713294"
Test: Test_helperRun/support_OAuth2
FAIL
This failure appears to be exclusive to the i686 host.
I have verified that this test is failing on i868 for glab 1.88.0 (current latest release) and 1.76.2. I suspect that this test didn't use to fail for 1.76.2 in the past, so something in the external environment may have changed.
Environment
Warning
This was run from inside xbps-src, the Void Linux package builder. It is a minimal nonstandard chroot environment used for building packages only.
- OS: Linux 6.12.74_1 x86_64
- SHELL: /bin/sh
- TERM: dumb
- GLAB: glab 1.88.0 ()
Other:
Steps to reproduce
Try to run tests for glab on a i686 host (or on x86_64 host chrooted into i686, since this is a native chroot).
What is the current bug behavior?
The test failing.
What is the expected correct behavior?
The test not failing.
Relevant logs and/or screenshots
See above.