Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Update dependencies:
- [#618](https://github.com/influxdata/influxdb-client-java/pull/618): `maven-enforcer-plugin` to `3.4.0`
- [#621](https://github.com/influxdata/influxdb-client-java/pull/621): `dokka-maven-plugin` to `1.9.0`
- [#628](https://github.com/influxdata/influxdb-client-java/pull/628): `versions-maven-plugin` to `2.16.1`
- [#627](https://github.com/influxdata/influxdb-client-java/pull/627): `assertk-jvm` to `0.27.0`

#### Test:
- [#620](https://github.com/influxdata/influxdb-client-java/pull/620): `logback-classic` to `1.3.11`
Expand Down
2 changes: 1 addition & 1 deletion client-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
<dependency>
<groupId>com.willowtreeapps.assertk</groupId>
<artifactId>assertk-jvm</artifactId>
<version>0.26.1</version>
<version>0.27.0</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
*/
package com.influxdb.client.kotlin

import assertk.assertFailure
import assertk.assertThat
import assertk.assertions.contains
import assertk.assertions.containsExactly
import assertk.assertions.hasSize
import assertk.assertions.isEmpty
import assertk.assertions.isEqualTo
import assertk.assertions.isFailure
import assertk.assertions.isInstanceOf
import assertk.assertions.isTrue
import assertk.assertions.startsWith
Expand Down Expand Up @@ -271,9 +271,9 @@ internal class ITQueryKotlinApi : AbstractITInfluxDBClientKotlin() {

val channel = clientNotRunning.getQueryKotlinApi().query(flux, organization.id)

assertThat {
assertFailure {
runBlocking { channel.toList() }
}.isFailure().isInstanceOf(ConnectException::class.java)
}.isInstanceOf(ConnectException::class.java)

assertThat(channel.isClosedForReceive).isTrue()
assertThat(channel.isClosedForSend).isTrue()
Expand Down Expand Up @@ -333,4 +333,4 @@ internal class ITQueryKotlinApi : AbstractITInfluxDBClientKotlin() {
@Column(name = "_time", timestamp = true)
internal var time: Instant? = null
}
}
}