2835 Commits
Author SHA1 Message Date
Bryan Boreham 76d658b193 Make MakeIDList() enforce invariant 2015-07-07 22:16:50 +01:00
Tom Wilkie d2d73c3cd4 Add -cpu 4 to tests. 2015-07-06 15:07:33 +00:00
Tom Wilkie 0043e9f37d Remove binaries on make clean. 2015-07-06 14:06:08 +00:00
Tom Wilkie 560e413fe0 Clean after making darwin binaries 2015-07-06 14:00:29 +00:00
Alfonso Acosta 7e7fbd1d2c Merge pull request #305 from weaveworks/fons-make-deps
Add 'make deps' to build instructions
2015-07-06 14:11:08 +01:00
Tom Wilkie e48053b5b2 s/probe.args/scope-probe.args/ 2015-07-06 12:59:25 +00:00
Alfonso Acosta f304bb3b98 Add 'make deps' to build instructions 2015-07-06 09:45:58 +01:00
Paul Bellamy 08f62aa4cb Merge pull request #273 from paulbellamy/integration-tests
First pass at integration tests
2015-07-03 09:55:37 +01:00
Paul Bellamy 94a0acea17 Merge pull request #298 from paulbellamy/154-inspect-connections
Replace "Origin Endpoint" tables with "Connection Details" table
2015-07-03 09:48:46 +01:00
Peter Bourgon edee9b2434 weave expose prior to scope launch 2015-07-02 18:25:10 +01:00
Paul Bellamy 95f941ff2d const-izing NodeMetadata fields 2015-07-02 14:51:12 +01:00
Paul Bellamy 129e529a0e removing duplication checking, which is no longer needed due to connection aggregation 2015-07-02 14:21:16 +01:00
Paul Bellamy cd71f82d4d aggregate connection details table
List Local and Remote endpoints for each TCP connection on the node.
2015-07-02 14:21:16 +01:00
Paul Bellamy a9b53f6d76 refactoring some common logic 2015-07-02 14:19:38 +01:00
Paul Bellamy 0a0b3147c7 [circle] run tests on prs, but skip integration tests
check before each integration test line is a bit ugly. Can combine them
into one step, but then you don't get metrics on how long each step
takes (in circle).
2015-07-02 14:16:53 +01:00
Peter Bourgon 37c99b71ea Merge pull request #293 from weaveworks/rename-components
In Docker, {app,probe} -> {scope-app,scope-probe}
2015-07-02 11:50:05 +01:00
Tom Wilkie 501f1a4c6b Merge pull request #299 from tomwilkie/291-image-grouping
Use container name (minus version) as id in containers-by-image view.
2015-07-01 14:58:46 +02:00
Tom Wilkie 14470aa107 Use container name (minus version) as id in containers-by-image view.
Also:
- build a custom URL matcher to cope with container image names having a encoded forward slash in them.
- escape node ids in the UI when constructing URLs.
- add a test which fetches all the nodes of all topologies, and update report fixture to have slash in container image names.
2015-07-01 12:53:47 +00:00
Paul Bellamy c92773f16f working on clustering test 2015-06-30 14:46:31 +01:00
Tom Wilkie e20d0d772c Merge pull request #295 from tomwilkie/0.4.0-changelog
Changelog for 0.4.0
v0.4.0
2015-06-30 14:35:36 +02:00
Tom Wilkie e48adf1d8c Changelog for 0.4.0 2015-06-30 12:29:43 +00:00
Peter Bourgon ac413e8dd9 Merge pull request #294 from weaveworks/probe-reorg
Probe re-org
2015-06-30 12:12:16 +02:00
Peter Bourgon d9a37df783 WeaveTagger becomes Weave, both Reporter & Tagger 2015-06-30 12:05:32 +02:00
Peter Bourgon f4b3930a19 Probe re-org
- tag/weave* -> package overlay
- tag/origin_host* -> package host
- tag/topology* -> package main
2015-06-30 10:18:00 +02:00
Peter Bourgon ea9eaae26a In Docker, {app,probe} -> {scope-app,scope-probe} 2015-06-29 18:59:19 +02:00
Peter Bourgon 69785493ba Merge pull request #289 from weaveworks/fix-host-on-darwin
Fix host on darwin
2015-06-29 18:32:18 +02:00
Peter Bourgon 36212cea3e Fix probe/host for Darwin
Also, add explicit GOOS=darwin target for circle.
2015-06-29 18:27:22 +02:00
Peter Bourgon 56701b6088 Merge pull request #292 from weaveworks/test-refactoring
Test refactoring
2015-06-29 18:13:51 +02:00
Peter Bourgon 90a0286909 Refactor tests to have appropriate packages
By default, tests should be in package pkg_test. If they need to test
package internals, they can be in package pkg, but then should carry a
suffix of foo_internal_test.go.

This changeset enforces that idiom across the codebase, and adds a check
to the linter to make sure it remains.

Also, some fixes to comments.
2015-06-29 18:06:44 +02:00
Paul Bellamy ff9771f112 initial integration test setup
Integration tests are only run on circle. They checkout the weave
project, and use test helpers from there.

There are just a few basic tests for now, to confirm it works.
2015-06-29 15:40:40 +01:00
Peter Bourgon f8be412dbb Remove forgotten half-comment line 2015-06-29 15:08:39 +02:00
Tom Wilkie 40b5fa56d7 Merge pull request #287 from tomwilkie/284-cpu-usage
Cache the walk of the process tree, reusing it in docker tagger and process reporter.
2015-06-29 13:22:22 +02:00
Tom Wilkie b9e968ff43 Cache the walk of the process tree, reusing it in docker tagger and process reporter.
Update the cache every spy tick.

This change make CPU usage of scope on my box go from ~40% to ~17%.
2015-06-29 11:16:38 +00:00
David 7e76fd3ac9 Merge pull request #285 from weaveworks/test-bundle
Fail make static on build JS build errors
2015-06-25 17:46:13 +02:00
David Kaltschmidt 934082bca1 fail make static on build JS build errors
fixes #277
2015-06-25 17:12:08 +02:00
Tom Wilkie 09de188c76 Merge pull request #283 from tomwilkie/281-process-name
Trim whitespace from process names
2015-06-25 10:38:27 +02:00
Tom Wilkie eb250ecb7c Trim whitespace from process names
This causes detailed node lookups for the grouped-by-process-name view to fail.  Also, add a test for process walker trimmming whitespace, and a test the process-by-name view gives the right result.
2015-06-24 14:01:17 +00:00
Paul Bellamy 81239f04ed Merge pull request #280 from tomwilkie/251-flaky
Increase timeouts to prevent flakiness.
2015-06-24 13:08:34 +01:00
Paul Bellamy 7cd0465f42 Merge pull request #279 from tomwilkie/260-report-fixture
Only have a single report fixture
2015-06-24 13:07:06 +01:00
Tom Wilkie bd4556f6c3 Add timeout on example client. 2015-06-24 11:07:35 +00:00
Tom Wilkie 5e4cfc57e5 Use a repo name on example images. 2015-06-24 10:34:20 +00:00
Tom Wilkie 175c488d74 Increase timeouts to prevent flakiness. 2015-06-24 10:03:26 +00:00
Tom Wilkie 416f56c3cc Only have a single report fixture
- Move render.Rpt to test.Report
- Remove report/report_fixture_test.go; it was unused
- Remove report fixture in app/ and make tests use test.Report
- Move expected outputs into render/expected, so they can be reused
2015-06-24 09:51:29 +00:00
Paul Bellamy 4bf859158b Merge pull request #278 from tomwilkie/214-image-pulling
Fail quickly in the ./scope script.
2015-06-23 17:40:23 +01:00
David 071375f9eb Merge pull request #246 from weaveworks/cleanup-unused
Removed unused grouping and explorer code
2015-06-23 17:45:06 +02:00
Tom Wilkie ead58a3483 Make scope compile on Mac again. 2015-06-23 15:41:12 +00:00
David Kaltschmidt 8d2e62b5c9 updated static.go 2015-06-23 17:24:57 +02:00
Tom Wilkie f3811726f9 Merge pull request #276 from tomwilkie/261-order-details
Fix order of tables in details panel to go from most to least granular.
2015-06-23 17:15:33 +02:00
Tom Wilkie 93cf639418 Fix order of tables in details panel to go from most to least granular. 2015-06-23 15:09:20 +00:00
Tom Wilkie eafa040a6d Fail quickly in the ./scope script. 2015-06-23 14:29:54 +00:00