Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Skip ssl check#149

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
demonolock wants to merge15 commits intomasterfromskip-ssl-check
Closed
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
15 commits
Select commitHold shift + click to select a range
1b10a54
Add ability to skip ssl when connect to PostgresNode
Nov 1, 2024
104a127
Don't reserve a new port if port was set up
Nov 1, 2024
19ef23f
Fix flake8 style
Nov 18, 2024
43c91c0
Fix test_the_same_port
Nov 18, 2024
1e8d912
Fix failed test_ports_management
Nov 18, 2024
f1d28b4
Add env variable TESTGRES_SKIP_SSL
Nov 18, 2024
e729c2f
Fix sys.modules instead globals
Nov 18, 2024
dc4b4c3
Move _get_ssl_options in separate function
Nov 18, 2024
547081e
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 4, 2024
fb6205d
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 6, 2024
67f23a7
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 8, 2024
b67ae42
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
be972e0
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
0781132
Merge branch 'master' into skip-ssl-check
dmitry-lipetskDec 10, 2024
fa6d751
[BUG FIX] TestgresRemoteTests.test_safe_psql__expect_error is corrected
dmitry-lipetskDec 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Fix flake8 style
  • Loading branch information
vshepard committedNov 18, 2024
commit19ef23f130cb0c534aa4128faf80237c6c0c5666
12 changes: 5 additions & 7 deletionstestgres/node.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -735,13 +735,11 @@ def start(self, params=None, wait: bool = True) -> 'PostgresNode':
if self.is_started:
return self

_params = [
self._get_bin_path("pg_ctl"),
"-D", self.data_dir,
"-l", self.pg_log_file,
"-w" if wait else '-W', # --wait or --no-wait
"start"
] + params # yapf: disable
_params = [self._get_bin_path("pg_ctl"),
"-D", self.data_dir,
"-l", self.pg_log_file,
"-w" if wait else '-W', # --wait or --no-wait
"start"] + params # yapf: disable

max_retries = 5
sleep_interval = 5 # seconds
Expand Down
3 changes: 1 addition & 2 deletionstestgres/operations/local_ops.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
import getpass
import logging
import os
import shutil
Expand All@@ -10,7 +9,7 @@
import psutil

from ..exceptions import ExecUtilException
from .os_ops import ConnectionParams, OsOperations,pglib,get_default_encoding
from .os_ops import ConnectionParams, OsOperations, get_default_encoding

try:
from shutil import which as find_executable
Expand Down
9 changes: 0 additions & 9 deletionstestgres/operations/remote_ops.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -4,15 +4,6 @@
import subprocess
import tempfile

# we support both pg8000 and psycopg2
try:
import psycopg2 as pglib
except ImportError:
try:
import pg8000 as pglib
except ImportError:
raise ImportError("You must have psycopg2 or pg8000 modules installed")

from ..exceptions import ExecUtilException
from .os_ops import OsOperations, ConnectionParams, get_default_encoding

Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp