Skip to content

Activator: add unit test for cmd/activator/main.go #1231

@akyyy

Description

@akyyy

/area autoscale

/kind cleanup

Expected Behavior

  1. Add unit test to main.go
    [Mustafa] Roundtripper should be simple to test with a fake client. Though you will need to change the code slightly and instead of using http.DefaultTransport, you will need to pass it as an argument.
    to the rountripper struct.
  2. activator is now the only code piece that use glog. We need to migrate that to zap logger as well

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions