Skip to content

Commit

Permalink
Fixed findings 2
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaron committed Aug 23, 2023
1 parent 31c1fe0 commit c9a278f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ internal class QuestDBFeedTest {
fun append() {
val recorder = QuestDBRecorder(folder.toPath())
val inputFeed = RandomWalkFeed.lastYears(1)

val tfs = inputFeed.timeframe.split(3.months)
recorder.record<PriceBar>(inputFeed, "pricebars2", tfs.first())
tfs.drop(1).forEach { recorder.record<PriceBar>(inputFeed, "pricebars2", it, true) }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class QuestDBMetricsLoggerTest {
logger2.loadPreviousRuns()
val aaa2 = logger2.getMetric("aaa", "myrun")
assertEquals(1, aaa2.size)
logger2.close()
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private fun FlowContent.echarts(elemId: String, width: String = "100%", height:
}

private fun FlowContent.metricForm(target: String, run: String, info: RunInfo) {
val metricNames = info.roboquant.logger.getMetricNames()
val metricNames = info.roboquant.logger.getMetricNames(run)
form {
hxPost = "/echarts"
hxTarget = target
Expand Down

0 comments on commit c9a278f

Please sign in to comment.