Skip to content

Conversation

@jixuan1989
Copy link
Member

Fix https://issues.apache.org/jira/browse/IOTDB-2
Now we can use :

  • mvn test to run all UTs.
  • mvn package -DskipTests to skip all UTs.
  • mvn package -Dtsfile.test.skip to skip all UTs in Tsfile Module.
    ** -Diotdb.test.skip, -Djdbc.test.skip, -Drpc.test.skip, -Dgrafana.test.skip and -Dcli.test.skip are similar.
  • mvn verify to run all ITs.
  • mvn verify -Dtsfile.it.skip to skip all ITs.
    ** similarly, you can use-Diotdb.it.skip, -Djdbc.it.skip, -Drpc.it.skip, -Dgrafana.it.skip and -Dcli.it.skip
  • mvn install to run all Tests (both UTs and ITs).

What are UTs: java files which are in src/test/java/ and have suffix with Test.java
What are ITs: java files which are in src/test/java/ and have suffix with IT.java

@jixuan1989 jixuan1989 requested review from MyXOF and chrisdutz January 20, 2019 15:14
Copy link
Member

@MyXOF MyXOF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@MyXOF
Copy link
Member

MyXOF commented Jan 20, 2019

For integration tests, should we put them into src/test/it folder?

@jixuan1989
Copy link
Member Author

For integration tests, should we put them into src/test/it folder?

The default ITs the plugin defines is:

/IT*.java
/*IT.java
**/*ITCase.java

What I want to modify is that adding some actions in pre-integration and post-integration phase (e.g., start IoTDB and stop it). But, we can do it in the future.

@jixuan1989 jixuan1989 merged commit 682b74b into master Jan 21, 2019
@jixuan1989 jixuan1989 deleted the fix_issue_2_it branch January 21, 2019 06:07
mychaow pushed a commit to mychaow/incubator-iotdb that referenced this pull request Dec 31, 2020
apache#8)

* fix add datamember is null bug && fix dead lock bug when add node&& fix do snapshot wait all logs applied bug
mzp0514 pushed a commit to mzp0514/iotdb that referenced this pull request Apr 26, 2021
# This is the 1st commit message:

Fix query one sensor in a vector from memtable (apache#3056)

Fix query one sensor in a vector from memtable
# This is the commit message apache#2:

[IOTDB-1310] Enable docker, docker-compose and testcontainer for End to end test (apache#3024)

* enable TestCongtainer for E2E test for (singleNode and cluster)

* remove duplicated operations in integration-test phase

* move spotless:apply to a profile `spotless`, which is enabled by default.

Co-authored-by: xiangdong huang <sainthxd@gmail.com>
# This is the commit message apache#3:

add sink interface

# This is the commit message apache#4:

3 new event sinks

# This is the commit message apache#5:

add ts sink

# This is the commit message apache#6:

add ts sink

# This is the commit message apache#7:

add mqtt sink

# This is the commit message apache#8:

refactor sink module

# This is the commit message apache#9:

init package sink.manager

# This is the commit message apache#10:

rename SinkException

# This is the commit message apache#11:

remove id in config

# This is the commit message apache#12:

fix doc

# This is the commit message apache#13:

add test framework

# This is the commit message apache#14:

add alertmanager sink & test & doc

# This is the commit message apache#15:

beautify the doc
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