Non-systemd udev path + adjusted unit test#6882
Non-systemd udev path + adjusted unit test#6882red15 wants to merge 2 commits intoinfluxdata:masterfrom red15:master
Conversation
srebhan
left a comment
There was a problem hiding this comment.
While I would rather like to see the initialization of ic.udevDataPath in a Init() function, I can live with what you have now.
|
@red15: One thing, can you please rebase to run the CI checks again!? Thanks! |
Didn't know there was the ability have
Done, although now the macOS CI is failing for some reason ? |
|
Yeah, the example missing it but basically you can use The function is called after the config has been initialized, so it is a nice way to do the one-time things at construction... Do you see a chance to address the |
Unlikely to happen soon, I'll need to setup my build environment again and I'm worried that the test scenario will make this more complicated as I'd have to make sure the test mocks are surviving the |
|
I think we can live with the missing |
|
@red15 can you please rebase this against master and temove telegraf from your CircleCI account as it's not running the mac test |
Removing the udevPath global variable and it's dependencies. This sets us up to allow better detection of udevDataPath to support non-systemd linux versions.
Should properly solve (with minimal file probes) the udev mounting problem.
Rebased on the master, I removed the CircleCI project on my side. |
|
@helenosheaa any idea why the macdeps test is not executed? |
This is because it's on my fork, (i'm owner) perhaps it would be easier to create a branch on the actual influxdata company/organization repository (i'm not able to create branches there), merge my change into that one then merge it to the |
|
@red15 it being on a fork shouldn't matter as a lot of people do that. Is it possible CircleCI created a Telegraf project for you and you need to delete it? |
|
As far as I can see I did already cancel the builds 3days ago, this is the last check worfklow that ran: I can't really see how to delete the telegraf project attached to my CircleCI account? If i look at my dashboard there are no followed projects. |
Required for all PRs:
Now only probing 2 paths at most.
This is a rewrite with lessons learned by writing #5180 .
Closes #3900