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

uber-go / cadence-client / 018eb00b-32fe-466e-a603-47b49670bc66
65%

Build:
DEFAULT BRANCH: master
Ran 05 Apr 2024 09:01PM UTC
Jobs 1
Files 90
Run time 1min
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

05 Apr 2024 08:55PM UTC coverage: 64.677% (-0.07%) from 64.75%
018eb00b-32fe-466e-a603-47b49670bc66

push

buildkite

web-flow
Internal workflow client test improvements (#1331)

Followups from #1327:

1. simplifying the memo/search-attr encoding tests
2. making sure the dataconverter tests can detect correct vs incorrect encoder use 

1 is pretty simple: memos and search attrs are ALWAYS JSON because the server must interpret them, so the exact bytes should not change in the future.  A hardcoded string is easy to verify, and strengthens the guarantee that "this should not change even if other encoding changes".

2 is more interesting: as originally written, the test would still pass if the custom dataconverter was *not* saved and used.
The type-assertion to check the internal field somewhat prevents that, but it's unnecessary and a disjointed check.
So it has been rewritten: now the serialized request bytes must clearly come from the test encoder, not the default encoder, and they must be detectably different.

13374 of 20678 relevant lines covered (64.68%)

316.02 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
81.98
-0.21% internal/internal_task_pollers.go
4
21.2
-1.41% internal/compatibility/thrift/enum.go
9
48.42
-1.67% internal/compatibility/thrift/types.go
Jobs
ID Job ID Ran Files Coverage
1 018eb00b-32fe-466e-a603-47b49670bc66.1 05 Apr 2024 09:01PM UTC 90
64.68
Source Files on build 018eb00b-32fe-466e-a603-47b49670bc66
  • Tree
  • List 90
  • Changed 29
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3ca63281 on github
  • Prev Build on master (#018E9FF9...)
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