Posts

jenkins - How to know which tests were run together in parallel? -

my question in general this: when run automated tests in parallel how can know of them run @ same time? my issue this: i'm running tests in parallel (4 tests per time) have no idea of them executing (at same time) , waiting. after tests executed there failures , cause of failures other tests executing in same time failed test. want know tests executing can run them again debug failed test. technologies use: nunit 3.0, c#, selenium webdriver, jenkins i'm glad hear possible solution (doesn't matter if it's hard apply) for debug purposes, can run nunit console --trace=verbose option. this write log directory executing in, little this: 14:56:13.972 info [13] testworker: worker#4 executing testssuite1 14:56:13.973 debug [13] workitemdispatcher: directly executing testa 14:56:13.976 debug [12] workitemdispatcher: directly executing testb 14:56:13.976 debug [16] workitemdispatcher: directly executing testc 14:56:13.980 debug [12] workitemdispatche...

firebase - Detecting auth token expiration with Emberfire -

i have no issue firebase token expiring i'd programmatically know can ensure ui responds in appropriate way when happens. in situations notice following message: resumesession() canceled: auth token expired. how can ember spa hook event?

How can spring sftp inbound adaptor ensure whether file is transferred completely -

how can spring sftp inbound adaptor ensure whether file transferred completely. there check sum mechanism available in spring-integration default? whether spring integration give alert/notification if file partially transferred local ?. whether spring integration give alert/notification if expected file or file format not in sftp ?. thanks in advance no; there nothing built in; write custom filelistfilter (in local-filter ) that. if add error channel poller, exception during file transfer sent it. not sure mean "format" custom filter check too. polls result in no file there nothing emitted default, detect in smart poller .

javascript - Grouping objects from multiple arrays? -

i grouping child objects parent objects. have short working example on plunker it works fine, , understand principle of nesting objects in 1 array. use 2 different scope arrays. company(parent) - workers(child) example: $scope.parent = [{id: 1, name: "nike", productof:"usa"}] $scope.child = [{ id:1, firstname:"john", lastname:"doe" }, { id:2, firstname:"john2", lastname:"doe2" }, { id:3, firstname:"john3", lastname:"doe3" } ] i've tried on own, read lot of articles, didn't find need. can give me hint do, or link article? thank you! anyway, must have mapping field company in workers array, can use use filter in ng-repeat. $scope.workers = [ { id:1, companyid:1, firstname:"john", lastname:"doe" }, { id:2, companyid:2, firstname:"john2", lastname:"doe2" }, { id:3, companyid:3, firstna...

python - How to isolate parts of pandas data frame -

i have json contains backtest various assets, have separated assets using following code: preds = 'test_predictions.json' df = pd.read_json(preds) asset = 'poloniex_doge_btc' grouped = df.groupby('market_trading_pair') print grouped.get_group(asset) #each array should start , end: #start 1446012000 #end 1452556800 now how can truncate 'grouped' starts , ends above timestamps ? edit: sorry, here's example of df market_trading_pair next_future_timestep_return ohlcv_start_date \ 7073 poloniex_doge_btc -0.023256 1445392800 7074 poloniex_doge_btc 0.023810 1445396400 7075 poloniex_doge_btc 0.000000 1445400000 prediction_at_ohlcv_end_date 7073 0.999999 7074 1.000000 7075 -0.999891 using serbitar's answer: i replaced print grouped.get_group(asset) with: ...

windows 10 - Do I need to keep an image I used for creating SecondaryTile? -

when create secondarytile custom image, save image first in localfolder, pass "ms-appdata:///local/.." uri secondarytile constructor. after tile created, need keep logo image in local storage until it's unpinned? on desktop, create tile, remove image local storage, reboot pc , tile , image still on place. however, on mobile, same , tile ends no logo, transparent. so, os keep own cache of tile's image, or need take care of it? , behavior different between desktop , mobile? i had similar problem live tiles. speaking if want use custom image tiles, should declare image location, uwp run on mobile devices. on windows 10 mobile application referring assets folder that's why images has disappeared.

c - Address mapping of PCI-memory in Kernel space -

i'm trying read , write , pci-device loadable kernel module. therefore follow post : pci_enable_device(dev); pci_request_regions(dev, "expdev"); bar1 = pci_iomap(dev, 1, 0); // void iowrite32(u32 val, void __iomem *addr) iowrite32( 0xaaaaaaaa, bar1 + 0x060000); /* offset device spec */ but @ end device doesn't work expected. address behind bar1 , found big value ffffbaaaaa004500 . at point don't understand happen there , right. can interpret bar1 address inside kernel address space points directly base address 0x60000 offset pci chip select address? and how can value write bar1 + offset copied device? how mechanism work in behind of iowrite32 , pci_iomap ? thanks , regards alex ps: tested read same address successfully. register description of pci device: pcibar0 pci base address 0; used memory-mapped configuration registers pcibar1 pci base address 1; used i/o-mapped configuration registers pcibar2 pci base address 2; used lo...