Skip to content

Instantly share code, notes, and snippets.

View stefanschneider's full-sized avatar

Stefan Schneider stefanschneider

View GitHub Profile
Stefans-MacBook-Pro:bosh-stemcell stefans$ git diff ../stemcell_builder/stages/bosh_sysctl/assets/60-bosh-sysctl-neigh-fix.conf
diff --git a/stemcell_builder/stages/bosh_sysctl/assets/60-bosh-sysctl-neigh-fix.conf b/stemcell_builder/stages/bosh_sysctl/assets/60-bosh-sysctl-neigh-fix.conf
index 46d09cb..e6db6b0 100644
--- a/stemcell_builder/stages/bosh_sysctl/assets/60-bosh-sysctl-neigh-fix.conf
+++ b/stemcell_builder/stages/bosh_sysctl/assets/60-bosh-sysctl-neigh-fix.conf
@@ -3,3 +3,7 @@
# http://wiki.wireshark.org/Gratuitous_ARP
# http://linux-ip.net/html/ether-arp.html
net.ipv4.neigh.default.gc_thresh1=0
+
// hcs-test project main.go
package main
/*
Docker daemon is running in debug mode under win 2016 TP3.
Reading the logs can provide some insight in how the docker is using the
windows execdriver (and other drivers related to images and networks)
cat "c:\ProgramData\docker\daemon.log"
*/
// .net-sysversion project main.go
package main
// // importing C will increase the stack size. this is useful
// // if loading a .NET COM object, beacuse the CLR requires a larger stack
// #cgo LDFLAGS: -loleaut32
// #include "windows.h"
// #include "OleAuto.h"
import "C"
type Win32_Process struct {
Name string
//SessionId uint32
}
func main() {
//runtime.GOMAXPROCS(3)
//C.createThreadWithMsgLoop()
package main
import (
"github.com/StackExchange/wmi"
"log"
)
type Win32_Process struct {
ProcessId uint32
Name string
stefan.schneider@W-STEFANS-2012R ~/gopath/src/github.com/pivotal-golang/archiver ((b04736a...))
$ ginkgo -r -noColor=true
[1408372377] Compressor Suite - 6/6 specs •••••• SUCCESS! 14.6513ms PASS
[1408372377] Extractor Suite - 4/4 specs •••• SUCCESS! 33.2091ms PASS
Ginkgo ran 2 suites in 1.247332s
Test Suite Passed
stefan.schneider@W-STEFANS-2012R ~/gopath/src/github.com/pivotal-golang/archiver ((3854b8d...))
$ ginkgo -r -noColor=true
[1408372432] Compressor Suite - 6/6 specs ••
------------------------------
• Failure [0.005 seconds]
WriteTar [It] returns a reader representing a .tar stream
C:/Users/stefan.schneider/gopath/src/github.com/pivotal-golang/archiver/compressor/write_tar_test.go:68
Expected
<string>: outer-dir\inner-dir/
stefan.schneider@W-STEFANS-2012R ~/gopath/src/github.com/pivotal-golang/cacheddownloader ((062f78f...))
$ ginkgo -noColor=true -race -trace
Running Suite: CachedDownloader Suite
=====================================
Random Seed: 1408545822
Will run 50 of 50 specs
••••••••••••••••••••••••••••••••••••••••••••••••••
Ran 50 of 50 Specs in 5.774 seconds
SUCCESS! -- 50 Passed | 0 Failed | 0 Pending | 0 Skipped PASS
sstefan@sstefan-VirtualBox:~/workspace/wgot$ cf push
Using manifest file /home/sstefan/workspace/wgot/manifest.yml
Using stack windows2012r2...
OK
Updating app wgot in org diego / space diego as admin...
OK
Uploading wgot...
Uploading app files from: /home/sstefan/workspace/wgot
stefan.schneider@W-STEFANS-2012R ~/gopath/src/github.com/pivotal-golang/cacheddownloader ((74ecaf1...))
$ ginkgo -noColor=true -race -trace
Running Suite: CachedDownloader Suite
=====================================
Random Seed: 1408612367
Will run 52 of 52 specs
••••••••••••••••••••••••••••••••••••••••••••••••••••
Ran 52 of 52 Specs in 5.739 seconds
SUCCESS! -- 52 Passed | 0 Failed | 0 Pending | 0 Skipped PASS