Skip to content

Commit

Permalink
disable record by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kgyrtkirk committed Jun 18, 2024
1 parent 61dd670 commit fdf1159
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions quidem-it/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,16 @@ Can be used to write tests against existing test backends (ComponentSupplier) -
```
* launch the broker instance with:
```
mvn exec:exec -pl quidem-it
mvn exec:exec -pl quidem-it -Dquidem.record.autostart=true
```
* the broker will be running at http://localhost:12345
* the used test configuration backend can configured by supplying `quidem.uri`
```
mvn exec:exec -pl quidem-it -Dquidem.uri=druidtest:///?componentSupplier=ThetaSketchComponentSupplier
```
* new record files can be started by calling http://localhost:12345/quidem/start
* if `quidem.record.autostart` is omitted recording will not start
* after finished with the usage of the broker ; a new `record-123.iq` file will be in the project's worktree - it will contain all the executed statements
* running `dev/quidem -Dquidem.overwrite` adds the resultsets to the `iq` file
* running `dev/quidem -Dquidem.overwrite` updates the resultsets of all `iq` files around there
* rename the testfile to have a more descriptive name

3 changes: 2 additions & 1 deletion quidem-it/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@

<properties>
<quidem.uri>druidtest:///</quidem.uri>
<quidem.record.autostart>false</quidem.record.autostart>
</properties>
<dependencies>
<dependency>
Expand Down Expand Up @@ -512,7 +513,7 @@
<argument>-classpath</argument>
<classpath />
<argument>-Dquidem.uri=${quidem.uri}</argument>
<argument>-Dquidem.record.autostart=true</argument>
<argument>-Dquidem.record.autostart=${quidem.record.autostart}</argument>
<argument>org.apache.druid.quidem.Launcher</argument>
</arguments>
</configuration>
Expand Down

0 comments on commit fdf1159

Please sign in to comment.