Comments (5)
from flank.
We also add a hash code of the project name.
- "_" + getConfigurator().getProjectNameHash()
from flank.
the project name is static so that's not helpful? Is there a reason for not adopting the same folder naming strategy as the official SDK?
from flank.
from flank.
I just need to understand the issue :)
here is the issue:
# Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# code from api_lib/firebase/test/arg_validate.py
def _GenerateUniqueGcsObjectName():
"""Create a unique GCS object name to hold test results in the results bucket.
The Testing back-end needs a unique GCS object name within the results bucket
to prevent race conditions while processing test results. By default, the
gcloud client uses the current time down to the microsecond in ISO format plus
a random 4-letter suffix. The format is: "YYYY-MM-DD_hh:mm:ss.ssssss_rrrr".
Returns:
A string with the unique GCS object name.
"""
return '{0}_{1}'.format(datetime.datetime.now().isoformat('_'),
''.join(random.sample(string.letters, 4)))
I'm happy to submit a pull request if you'd like. The fix you submitted (new Random().nextInt(50000000)
) works but I would prefer to match the SDK in this case.
2017-05-31_17:19:36.431540_hRJD
2017-05-26_03:50:54.863502_AQmT
2017-05-30_13:33:02.233525_fTnd
I would rather not write scripts to handle a special naming convention just for flank. Hope that makes sense.
Thanks for all your work on the test runner. I appreciate the bug fixes and new features.
from flank.
Related Issues (20)
- Remove references to JFrog and Bintray
- Delayed displaying information about the number of devices used until
- flank exited with status code 10: at least one matrix not finished (usually a FTL internal error) or unexpected error occurred HOT 2
- Update create_new_release workflow to be manually run
- Full Suite integration tests failed on master HOT 3
- flank reports always as failure on macOS stack HOT 5
- Flank action should fail if there are test failures HOT 2
- Retry apk uploads on connectivity issues HOT 1
- Flank should record fatal exception outcome and or details from a matrix execution
- flank makes unauthenticated requests to github API HOT 1
- Full Suite integration tests failed on master HOT 2
- Using test plans for iOS test execution on Firebase HOT 1
- Flank missing HTTP header X-Goog-User-Project
- Smart flank uses time of skipped test when test are added back
- Full Suite integration tests failed on master HOT 24
- PropertyListFormatException when trying to run flank firebase test ios run
- Test case times sometimes reported as negative
- Generate flaky results in HTML report
- Formatted Summary Output Documentation Bug
- Outdated Google API Client library leads to vulnerabilities
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flank.