Skip to content

fix: start discoverer client before the logic is executed

Codecov / codecov/patch failed Nov 2, 2023 in 0s

14.32% of diff hit (target 31.01%)

View this Pull Request on Codecov

14.32% of diff hit (target 31.01%)

Annotations

Check warning on line 56 in internal/config/index_creation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/config/index_creation.go#L46-L56

Added lines #L46 - L56 were not covered by tests

Check warning on line 45 in pkg/index/job/creation/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/config/config.go#L40-L45

Added lines #L40 - L45 were not covered by tests

Check warning on line 51 in pkg/index/job/creation/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/config/config.go#L47-L51

Added lines #L47 - L51 were not covered by tests

Check warning on line 57 in pkg/index/job/creation/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/config/config.go#L53-L57

Added lines #L53 - L57 were not covered by tests

Check warning on line 63 in pkg/index/job/creation/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/config/config.go#L59-L63

Added lines #L59 - L63 were not covered by tests

Check warning on line 70 in pkg/index/job/creation/config/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/config/config.go#L65-L70

Added lines #L65 - L70 were not covered by tests

Check warning on line 64 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L54-L64

Added lines #L54 - L64 were not covered by tests

Check warning on line 71 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L67-L71

Added lines #L67 - L71 were not covered by tests

Check warning on line 76 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L75-L76

Added lines #L75 - L76 were not covered by tests

Check warning on line 85 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L84-L85

Added lines #L84 - L85 were not covered by tests

Check warning on line 93 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L90-L93

Added lines #L90 - L93 were not covered by tests

Check warning on line 123 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L120-L123

Added lines #L120 - L123 were not covered by tests

Check warning on line 134 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L133-L134

Added lines #L133 - L134 were not covered by tests

Check warning on line 154 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L150-L154

Added lines #L150 - L154 were not covered by tests

Check warning on line 192 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L156-L192

Added lines #L156 - L192 were not covered by tests

Check warning on line 202 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L194-L202

Added lines #L194 - L202 were not covered by tests

Check warning on line 204 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L204

Added line #L204 was not covered by tests

Check warning on line 218 in pkg/index/job/creation/service/indexer.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/indexer.go#L214-L218

Added lines #L214 - L218 were not covered by tests

Check warning on line 36 in pkg/index/job/creation/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/options.go#L30-L36

Added lines #L30 - L36 were not covered by tests

Check warning on line 47 in pkg/index/job/creation/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/options.go#L43-L47

Added lines #L43 - L47 were not covered by tests

Check warning on line 58 in pkg/index/job/creation/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/options.go#L54-L58

Added lines #L54 - L58 were not covered by tests

Check warning on line 68 in pkg/index/job/creation/service/options.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/service/options.go#L63-L68

Added lines #L63 - L68 were not covered by tests

Check warning on line 52 in pkg/index/job/creation/usecase/creation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/usecase/creation.go#L46-L52

Added lines #L46 - L52 were not covered by tests

Check warning on line 59 in pkg/index/job/creation/usecase/creation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/usecase/creation.go#L54-L59

Added lines #L54 - L59 were not covered by tests

Check warning on line 78 in pkg/index/job/creation/usecase/creation.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/index/job/creation/usecase/creation.go#L61-L78

Added lines #L61 - L78 were not covered by tests