mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-05-04 00:07:51 +00:00
* Define `ReadProgress` struct and update `Dissector` interface such that the `bufio.Reader` progress can be learned on item emitting * Display the `requestSize` and `responseSize` fields in the UI * Update the tests * publish ui-common version 1.0.130 and bump to this version in ui/package.json file Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com> Co-authored-by: Roee Gadot <roee.gadot@up9.com>
17 lines
859 B
Makefile
17 lines
859 B
Makefile
skipbin := $$(find bin -mindepth 1 -maxdepth 1)
|
|
skipexpect := $$(find expect -mindepth 1 -maxdepth 1)
|
|
|
|
test: test-pull-bin test-pull-expect
|
|
@MIZU_TEST=1 go test -v ./... -coverpkg=./... -race -coverprofile=coverage.out -covermode=atomic
|
|
|
|
test-update: test-pull-bin
|
|
@MIZU_TEST=1 TEST_UPDATE=1 go test -v ./... -coverpkg=./... -coverprofile=coverage.out -covermode=atomic
|
|
|
|
test-pull-bin:
|
|
@mkdir -p bin
|
|
@[ "${skipbin}" ] && echo "Skipping downloading BINs" || gsutil -o 'GSUtil:parallel_process_count=5' -o 'GSUtil:parallel_thread_count=5' -m cp gs://static.up9.io/mizu/test-pcap/bin/http/\*.bin bin
|
|
|
|
test-pull-expect:
|
|
@mkdir -p expect
|
|
@[ "${skipexpect}" ] && echo "Skipping downloading expected JSONs" || gsutil -o 'GSUtil:parallel_process_count=5' -o 'GSUtil:parallel_thread_count=5' -m cp -r gs://static.up9.io/mizu/test-pcap/expect5/http/\* expect
|