Skip to content

Conversation

@j-bennet
Copy link
Contributor

@j-bennet j-bennet commented Mar 5, 2025

Integration tests are failing right now. Disabling temporarily.

https://github.com/dbcli/pgcli/actions/runs/13524387415/job/38207720601?pr=1492

Scenario: run refresh command             # tests/features/specials.feature:3
    When we refresh completions             # tests/features/steps/specials.py:11
    And we wait for prompt                  # tests/features/steps/basic_commands.py:70
    Then we see completions refresh started # tests/features/steps/specials.py:19
      Traceback (most recent call last):
        File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/behave/model.py", line 1329, in run
          match.run(runner.context)
        File "/opt/hostedtoolcache/Python/3.11.11/x64/lib/python3.11/site-packages/behave/matchers.py", line 98, in run
          self.func(context, *args, **kwargs)
        File "tests/features/steps/specials.py", line 24, in step_see_refresh_started
          wrappers.expect_pager(
        File "/home/runner/work/pgcli/pgcli/tests/features/steps/wrappers.py", line 45, in expect_pager
          expect_exact(
        File "/home/runner/work/pgcli/pgcli/tests/features/steps/wrappers.py", line 18, in expect_exact
          raise Exception(
      Exception: Expected:
      ---
      ['---boundary---\r\nAuto-completion refresh started in the background.\r\n---boundary---\r\n', '---boundary---\r\nAuto-completion refresh restarted.\r\n---boundary---\r\n']
      ---
      Actual:
      ---
      '\\pset  \r\r\n: terminal is not fully functional\r\nPress RETURN to continue \r\n\r\x07Pager is always used.\r\n\rTime: 0.001s\r\n_behave_tests_3_11_11>\r\r\n\r\r\n\r\r\n \x08\r\r\n refresh materialized view  keyword  _behave_tests_3_11_11> \r\r\n: terminal is not fully functional\r\nPress RETURN to continue '
      ---
      Full log:
      ---
      '\\pset pager always\n\\pset pager always\r\n\x1b[?12l\x1b[?25hServer: PostgreSQL 9.6.24\r\nVersion: 4.1.0\r\nHome: [http://pgcli.com\r\n\x1b[?2004h\x1b[?1l\x1b[?25l\x1b[0m\x1b[?7l\x1b[0m\x1b[J\x1b[0mpgcli_behave_tests_3_11_11](http://pgcli.com/r/n/x1b[?2004h\x1b[?1l\x1b[?25l\x1b[0m\x1b[?7l\x1b[0m\x1b[J\x1b[0mpgcli_behave_tests_3_11_11)>\x1b[0m\r\r\n\r\r\n\r\r\n\x1b[0m \x08\x1b[3A\x1b[28C\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\x1b[?25l\x1b[?7l\x1b[28D\x1b[0mpgcli_behave_tests_3_11_11> \\pset\x1b[0;38;5;250m \x1b[0mpager\x1b[0;38;5;250m \x1b[0;38;5;28;1malways\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\\refresh\n\x1b[?25l\x1b[?7l\x1b[46D\x1b[0m\x1b[J\x1b[0mpgcli_behave_tests_3_11_11> \\pset\x1b[0;38;5;250m \x1b[0mpager\x1b[0;38;5;250m \x1b[0;38;5;28;1malways\x1b[46D\x1b[0m\r\r\n\x1b[J\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\x1b[?2004lWARNING: terminal is not fully functional\r\nPress RETURN to continue \r\n\r\x07Pager is always used.\x1b[m\r\n\rTime: 0.001s\r\n\x1b[?2004h\x1b[?25l\x1b[0m\x1b[?7l\x1b[0m\x1b[J\x1b[0mpgcli_behave_tests_3_11_11>\x1b[0m\r\r\n\r\r\n\r\r\n\x1b[0m \x08\x1b[3A\x1b[28C\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\x1b[?25l\x1b[?7l\x1b[0;38;5;28;1mrefresh\x1b[0m\r\r\n\x1b[35C\x1b[0;38;5;231;48;5;30m refresh materialized view \x1b[0;38;5;231;48;5;66m keyword \x1b[0;38;5;16;48;5;238m \x1b[A\x1b[37D\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\x1b[?25l\x1b[?7l\x1b[35D\x1b[0m\x1b[J\x1b[0mpgcli_behave_tests_3_11_11> \x1b[0;38;5;28;1mrefresh\x1b[35D\x1b[0m\r\r\n\x1b[J\x1b[?7h\x1b[0m\x1b[?12l\x1b[?25h\x1b[?2004lWARNING: terminal is not fully functional\r\nPress RETURN to continue '

@j-bennet j-bennet merged commit 18013c5 into main Mar 5, 2025
7 checks passed
@j-bennet j-bennet deleted the j-bennet/temporarily-remove-integration branch March 5, 2025 01:31
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.

2 participants