Skip to content

Instantly share code, notes, and snippets.

@bfallik

bfallik/working Secret

Created March 13, 2014 14:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfallik/f1971ce5ccd6d088b6f6 to your computer and use it in GitHub Desktop.
Save bfallik/f1971ce5ccd6d088b6f6 to your computer and use it in GitHub Desktop.
=== RUN Test_HelloWorld
--- PASS: Test_HelloWorld (0.00 seconds)
PASS
ok workers 0.023s
=== RUN Test_MatchString
--- PASS: Test_MatchString (0.00 seconds)
=== RUN Test_AssignZero
Utility Matrix (ads x invOps) in CPM*100:
Utility Matrix (ads x invOps) in CPM*100:
0 0 0
0 0 0
0 0 0
--- PASS: Test_AssignZero (0.00 seconds)
=== RUN Test_AssignPanic
--- PASS: Test_AssignPanic (0.00 seconds)
=== RUN Test_parseRat
--- PASS: Test_parseRat (0.00 seconds)
=== RUN Test_ProposalString
--- PASS: Test_ProposalString (0.00 seconds)
=== RUN Test_Proposal
--- PASS: Test_Proposal (0.00 seconds)
=== RUN Test_AdBudget
--- PASS: Test_AdBudget (0.00 seconds)
=== RUN Test_AdBudgetString
--- PASS: Test_AdBudgetString (0.00 seconds)
=== RUN Test_ParseCSV
--- PASS: Test_ParseCSV (0.00 seconds)
=== RUN Test_AssignFakeJson
Utility Matrix (ads x invOps) in CPM*100:
2 1 0
3 4 5
7 8 6
--- PASS: Test_AssignFakeJson (0.00 seconds)
=== RUN Test_extendAds
--- PASS: Test_extendAds (0.00 seconds)
=== RUN Test_extendInvOps
--- PASS: Test_extendInvOps (0.00 seconds)
=== RUN Test_SquareUp
--- PASS: Test_SquareUp (0.00 seconds)
=== RUN Test_Proposals
--- PASS: Test_Proposals (0.00 seconds)
=== RUN Test_GenerateCostFunc
--- PASS: Test_GenerateCostFunc (0.00 seconds)
=== RUN Test_DateStamp
--- PASS: Test_DateStamp (0.00 seconds)
=== RUN Test_GenerateStartAndEndTimes
--- PASS: Test_GenerateStartAndEndTimes (0.00 seconds)
=== RUN Test_SetDow
--- PASS: Test_SetDow (0.00 seconds)
=== RUN Test_GenerateAllCoxOrders
--- PASS: Test_GenerateAllCoxOrders (0.00 seconds)
=== RUN Test_GenerateAdvertiser
--- PASS: Test_GenerateAdvertiser (0.00 seconds)
=== RUN Test_GenerateMarket
--- PASS: Test_GenerateMarket (0.00 seconds)
=== RUN Test_GenerateAdZone
--- PASS: Test_GenerateAdZone (0.00 seconds)
=== RUN Test_GenerateNetwork
--- PASS: Test_GenerateNetwork (0.00 seconds)
=== RUN Test_OpenDataStoreError
--- PASS: Test_OpenDataStoreError (0.00 seconds)
=== RUN Test_TypeConverter
--- PASS: Test_TypeConverter (0.00 seconds)
=== RUN Test_NullTime
--- PASS: Test_NullTime (0.00 seconds)
=== RUN Test_GetAdOppsError
--- PASS: Test_GetAdOppsError (0.00 seconds)
=== RUN Test_GetAdOppInventoriesError
--- PASS: Test_GetAdOppInventoriesError (0.00 seconds)
=== RUN Test_GetAdvertisementsError
--- PASS: Test_GetAdvertisementsError (0.00 seconds)
=== RUN Test_GetInventoryDetailError
--- PASS: Test_GetInventoryDetailError (0.00 seconds)
=== RUN Test_GetAdOppByID
--- PASS: Test_GetAdOppByID (0.00 seconds)
=== RUN Test_GetSupplierIDFromAdOppInventory
--- PASS: Test_GetSupplierIDFromAdOppInventory (0.00 seconds)
=== RUN Test_GetReachFromAdOppData
--- PASS: Test_GetReachFromAdOppData (0.00 seconds)
=== RUN Test_GetSuppliers
--- PASS: Test_GetSuppliers (0.00 seconds)
=== RUN Test_SubmitInsertionOrders
--- PASS: Test_SubmitInsertionOrders (0.00 seconds)
=== RUN Test_GetCoxOrderData
--- PASS: Test_GetCoxOrderData (0.00 seconds)
=== RUN Test_sliceIterator
--- PASS: Test_sliceIterator (0.00 seconds)
=== RUN Test_emptyAdFilter
--- PASS: Test_emptyAdFilter (0.00 seconds)
=== RUN Test_noMatchAdFilter
--- PASS: Test_noMatchAdFilter (0.00 seconds)
=== RUN Test_matchOddAdFilter
--- PASS: Test_matchOddAdFilter (0.00 seconds)
=== RUN Test_csvContains
--- PASS: Test_csvContains (0.00 seconds)
=== RUN Test_isBidfloorAbovePrice
--- PASS: Test_isBidfloorAbovePrice (0.00 seconds)
=== RUN Test_isNetworkAllowed
--- PASS: Test_isNetworkAllowed (0.00 seconds)
=== RUN Test_isDayPartAllowed
--- PASS: Test_isDayPartAllowed (0.00 seconds)
=== RUN Test_isDayOfWeekAllowed
--- PASS: Test_isDayOfWeekAllowed (0.00 seconds)
=== RUN Test_isBudgetAvailable
--- PASS: Test_isBudgetAvailable (0.00 seconds)
=== RUN Test_isNetworkBlacklistLengthExceeded
--- PASS: Test_isNetworkBlacklistLengthExceeded (0.00 seconds)
=== RUN Test_isCreativeDurationAllowed
--- PASS: Test_isCreativeDurationAllowed (0.00 seconds)
=== RUN Test_isBuyerUnblocked
--- PASS: Test_isBuyerUnblocked (0.00 seconds)
=== RUN Test_newHardFilterNoPredicates
--- PASS: Test_newHardFilterNoPredicates (0.00 seconds)
=== RUN Test_newHardFilterTwoPredicates
--- PASS: Test_newHardFilterTwoPredicates (0.00 seconds)
=== RUN Test_selectWinner
--- PASS: Test_selectWinner (0.00 seconds)
=== RUN Test_toMatchSlice
--- PASS: Test_toMatchSlice (0.00 seconds)
=== RUN Test_InventorySlice
--- PASS: Test_InventorySlice (0.00 seconds)
=== RUN Test_CreateSSHConfig
--- PASS: Test_CreateSSHConfig (0.00 seconds)
=== RUN Test_OpenSFTPConnection
--- PASS: Test_OpenSFTPConnection (0.00 seconds)
=== RUN Test_DownloadRemote
--- PASS: Test_DownloadRemote (0.00 seconds)
=== RUN Test_UploadToRemote
--- PASS: Test_UploadToRemote (0.00 seconds)
=== RUN Test_ScheduleDownloads
--- PASS: Test_ScheduleDownloads (0.00 seconds)
=== RUN Test_Password
--- PASS: Test_Password (0.00 seconds)
=== RUN Test_BufferedCopy
--- PASS: Test_BufferedCopy (0.00 seconds)
=== RUN Test_GetFilenamesInRemoteDir
--- PASS: Test_GetFilenamesInRemoteDir (0.00 seconds)
=== RUN Test_CreateInsertionOrder
--- PASS: Test_CreateInsertionOrder (0.00 seconds)
=== RUN Test_NewMatrix
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
--- PASS: Test_NewMatrix (0.00 seconds)
=== RUN Test_StepwiseMunkres
--- PASS: Test_StepwiseMunkres (0.00 seconds)
=== RUN Test_ComputeMunkres
--- PASS: Test_ComputeMunkres (0.00 seconds)
=== RUN Test_StartGoRelic
2014/03/13 10:36:32 Can not get metrica: Runtime/System/Threads, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
2014/03/13 10:36:32 Can not get metrica: Runtime/System/FDSize, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
2014/03/13 10:36:32 Can not get metrica: Runtime/System/Memory/VmPeakSize, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
2014/03/13 10:36:32 Can not get metrica: Runtime/System/Memory/VmCurrent, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
2014/03/13 10:36:32 Can not get metrica: Runtime/System/Memory/RssPeak, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
2014/03/13 10:36:32 Can not get metrica: Runtime/System/Memory/RssCurrent, got error:&errors.errorString{s:"This metrica was not implemented yet for darwin"}
--- PASS: Test_StartGoRelic (0.00 seconds)
=== RUN Test_SPA
--- PASS: Test_SPA (0.00 seconds)
PASS
ok ade 0.034s
? datastorecmd [no test files]
=== RUN Test_DefaultConfig
--- PASS: Test_DefaultConfig (0.00 seconds)
=== RUN Test_NewLoggerError
--- PASS: Test_NewLoggerError (0.00 seconds)
=== RUN Test_Alert
--- PASS: Test_Alert (0.00 seconds)
=== RUN Test_Post
--- PASS: Test_Post (0.00 seconds)
PASS
ok fluentd 0.022s
=== RUN Test_budgeter
--- PASS: Test_budgeter (0.00 seconds)
=== RUN Test_sumInt64
--- PASS: Test_sumInt64 (0.00 seconds)
=== RUN Test_filterSquared
--- PASS: Test_filterSquared (0.00 seconds)
=== RUN Test_performAssignmentsEmpty
Using seed 1
--- PASS: Test_performAssignmentsEmpty (0.00 seconds)
=== RUN Test_performAssignmentsNoBudgetNoFloor
Using seed 1
Utility Matrix (ads x invOps) in CPM*100:
915 0 0 0
464 0 1607 1192
0 3285 0 0
0 0 0 0
assignment 0 : (ad0, invOp0) for 9.15
assignment 1 : (ad1, invOp2) for 16.07
assignment 2 : (ad2, invOp1) for 32.85
Utility Matrix (ads x invOps) in CPM*100:
0 0 0 0
1192 0 0 0
0 0 0 0
0 0 0 0
assignment 0 : (ad1, invOp3) for 11.92
--- PASS: Test_performAssignmentsNoBudgetNoFloor (0.00 seconds)
=== RUN Test_performAssignments
Using seed 1
Utility Matrix (ads x invOps) in CPM*100:
915 0 0 0
464 0 1607 1192
0 3285 0 0
0 0 0 0
assignment 0 : (ad0, invOp0) for 9.15
assignment 1 : (ad1, invOp2) for 16.07
Utility Matrix (ads x invOps) in CPM*100:
0 0 0 0
0 1192 0 0
3285 0 0 0
0 0 0 0
assignment 1 : (ad2, invOp1) for 32.85
Utility Matrix (ads x invOps) in CPM*100:
0 0 0 0
1192 0 0 0
0 0 0 0
0 0 0 0
--- PASS: Test_performAssignments (0.00 seconds)
PASS
ok hitch 0.020s
? tbl2gorp [no test files]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment