• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mjtrangoni / flexlm_exporter / 6851455482
41%
master: 41%

Build:
Build:
LAST BUILD BRANCH: main
DEFAULT BRANCH: master
Ran 13 Nov 2023 02:36PM CUT
Jobs 1
Files 4
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Nov 2023 02:30PM CUT coverage: 40.629%. Remained the same
6851455482

Pull #89

github

mjtrangoni
Force server FQDN to lowercase, for handling windows output gracefully.

Extend fixture test case as well.

See,
```
--- FAIL: TestParseLmstatLicenseInfoServer (0.00s)
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
        panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x28 pc=0x102cb46d4]

goroutine 38 [running]:
testing.tRunner.func1.2({0x102dcd700, 0x10311b520})
        /opt/homebrew/Cellar/go/1.21.4/libexec/src/testing/testing.go:1545 +0x1c8
testing.tRunner.func1()
        /opt/homebrew/Cellar/go/1.21.4/libexec/src/testing/testing.go:1548 +0x360
panic({0x102dcd700?, 0x10311b520?})
        /opt/homebrew/Cellar/go/1.21.4/libexec/src/runtime/panic.go:914 +0x218
github.com/mjtrangoni/flexlm_exporter/collector.parseLmstatLicenseInfoServer({0x140000de300, 0x10, 0x200?})
        /Users/mtrangoni/git/flexlm_exporter.git/collector/lmstat.go:233 +0x1e4
github.com/mjtrangoni/flexlm_exporter/collector.TestParseLmstatLicenseInfoServer(0x140002151e0)
        /Users/mtrangoni/git/flexlm_exporter.git/collector/lmstat_test.go:164 +0x844
testing.tRunner(0x140002151e0, 0x102e45fc0)
        /opt/homebrew/Cellar/go/1.21.4/libexec/src/testing/testing.go:1595 +0xe8
created by testing.(*T).Run in goroutine 1
        /opt/homebrew/Cellar/go/1.21.4/libexec/src/testing/testing.go:1648 +0x33c
FAIL    github.com/mjtrangoni/flexlm_exporter/collector 0.343s
```

Signed-off-by: Mario Trangoni <mjtrangoni@gmail.com>
Pull Request #89: Force server FQDN to lowercase, for handling windows output gracefully.

4 of 4 new or added lines in 1 file covered. (100.0%)

284 of 699 relevant lines covered (40.63%)

100.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 6851455482.1 13 Nov 2023 02:36PM CUT 4
40.63
GitHub Action Run
Source Files on build 6851455482
  • Tree
  • List 4
  • Changed 1
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
18.07
collector/collector.go181 83 15 68 2.0
34.76
collector/lmstat_feature_exp.go266 187 65 122 19.0
46.6
collector/lmstat.go558 412 192 220 358.0
70.59
config/config.go65 17 12 5 1.0
Showing 1 to 4 of 4 entries
  • Previous
  • 1
  • Next
  • ►
    39.88
    collector/
  • ►
    70.59
    config/
  • Back to Repo
  • Pull Request #89
  • PR Base - main (#6745556841)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc