Skip to content

Commit

Permalink
refactor(unit-test): refact unit test cases (#139) (#142)
Browse files Browse the repository at this point in the history
* refactor(unit-test): refact unit-test cases

* refactor(unit-test): refact unit-test cases

* refactor(unit-test): refact unit test cases

* Revert "fix(unit-test): read properties from .env and system environment variables (#89)"

This reverts commit 7bc60b5

* refactor(unit-test): rename properties

* refactor(unit-test): rename properties

* refactor(unit-test): rename properties

* refactor(unit-test): refact unit test cases

* refactor(unit-test): rerun github actions
  • Loading branch information
yhilmare committed Sep 5, 2023
1 parent aa63f8b commit fbf6dba
Show file tree
Hide file tree
Showing 21 changed files with 5 additions and 866 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,4 @@ lib/odc-*.jar
.mvn/
maven/
venv/
**/local-unit-test.properties
13 changes: 0 additions & 13 deletions .secignore
Original file line number Diff line number Diff line change
Expand Up @@ -88,34 +88,21 @@
--------------------------------------------------------
# Should use GLOB wildcard to configure and analysis the ignored folder
# The root patch should start with '/'
/test-script/**
/script/functions.sh
/builds/**
/server/integration-test/**
/server/odc-common/src/test/resources/resource/**
/server/odc-common/target/**
/client/**
/log/**
/log/async/**
/log/data-mocker/**
/logs/**
/data/**
/maven/**
/.antcode/**
/.idea/**
/.git/**
/README.md
/.gitmodules
/.gitemplate
/.secignore
/build_daily_aci.yml
/build_release_aci.yml
/secretScanResult
/server/integration-test/src/test/resources/ssl/ca.pem
/libs/ob-sql-parser/README.md
/libs/ob-sql-parser/src/main/resources/**
/README-zh-CN.md
/docs/**
/server/integration-test/src/test/java/com/oceanbase/odc/service/connection/DefaultCertificateStorageTest.java
--------------------------------------------------------
# Set the ignored fold to escape the Chinese scan by GLOB wildcard
Expand Down
11 changes: 0 additions & 11 deletions builds/unit-test.properties

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
@Slf4j
public abstract class BasePropertiesEnv {

private static final String TEST_CONFIG_FILE = "../../builds/unit-test.properties";
private static final String TEST_CONFIG_FILE = "../../local-unit-test.properties";
private static final String ENCRYPTED_PREFIX = "ENC@";
private static final Properties PROPERTIES = new Properties();

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit fbf6dba

Please sign in to comment.