Skip to content

Commit

Permalink
Fix floating intergration test issue, document update and github auto…
Browse files Browse the repository at this point in the history
…mation improvement (#4)

* fix occasional test failure

* document update

* add check for credentials leak
  • Loading branch information
RoyZhang2022 authored and alinaliBQ committed Dec 12, 2023
1 parent d4e3300 commit f7ad772
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
26 changes: 26 additions & 0 deletions amazon-timestream-odbc-driver/.github/workflows/win-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,32 @@ env:
# OKTA_IDP_ARN: ${{secrets.OKTA_IDP_ARN}}

jobs:
trufflehog-git-secrets-scan:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified
- name: git secrets
run: |
git clone https://github.com/awslabs/git-secrets.git
cd git-secrets
sudo make install
cd ..
git secrets --register-aws
git secrets --scan-history
build-windows32:
runs-on: windows-2022
needs: trufflehog-git-secrets-scan
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -182,6 +206,7 @@ jobs:

build-windows64:
runs-on: windows-2022
needs: trufflehog-git-secrets-scan
steps:
- uses: actions/checkout@v2

Expand Down Expand Up @@ -322,6 +347,7 @@ jobs:

build-windows64_coverage:
runs-on: windows-2022
needs: trufflehog-git-secrets-scan
steps:
- uses: actions/checkout@v2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,21 @@ There is no automatical way to uninstall it. It has to be done manually.
```
sudo zypper remove amazontimestreamodbc_2.0.0_release_x86_64
```
or

```
sudo yum remove amazontimestreamodbc_2.0.0_release_x86_64
```

#### Command for RPM based 32 bit
```
sudo zypper remove amazontimestreamodbc_2.0.0_release_i386
```
or

```
sudo yum remove amazontimestreamodbc_2.0.0_release_i386
```

#### Command for Debian 64 bit
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ struct ApiRobustnessTestSuiteFixture : public timestream::odbc::OdbcTestSuite {
BOOST_FAIL(GetOdbcErrorMessage(SQL_HANDLE_STMT, stmt));

std::vector< SQLWCHAR > request = MakeSqlBuffer(
"select * from data_queries_test_db.TestComplexTypes order by time");
"select * from data_queries_test_db.TestComplexTypes order by time, measure_value::double");

ret = SQLExecDirect(stmt, request.data(), SQL_NTS);
if (!SQL_SUCCEEDED(ret))
Expand Down

0 comments on commit f7ad772

Please sign in to comment.